diff --git a/Kapitel 13/Tutorial.md b/Kapitel 13/Tutorial.md index 56e9bfb..8ab74fa 100644 --- a/Kapitel 13/Tutorial.md +++ b/Kapitel 13/Tutorial.md @@ -378,10 +378,18 @@ Im Ergebnis findest du im Feld `data[0].id` deine **User-ID** (z. B. `123456789` # Set Node – Felder übernehmen - -file_exists → ```json {{ JSON.parse($json.stdout).file_exists }} ``` -non_empty → ```json {{ JSON.parse($json.stdout).non_empty }} ``` -vods → ```json {{ JSON.parse($json.stdout).vods }} ``` +file_exists → +```json +{{ JSON.parse($json.stdout).file_exists }} +``` +non_empty → +```json +{{ JSON.parse($json.stdout).non_empty }} +``` +vods → +```json +{{ JSON.parse($json.stdout).vods }} +``` # WICHTIG @@ -391,20 +399,15 @@ vods → ```json {{ JSON.parse($json.stdout).vods }} ``` ### 6. State ermitteln (Set-Node – EIN Feld) - - - # State ermitteln - - -state → ```json {{ $json.file_exists === false +state → +```json +{{ $json.file_exists === false ? 'CREATE_AND_DOWNLOAD' : ($json.non_empty === false ? 'APPEND_AND_DOWNLOAD' : 'NEED_CHECK') }} ``` - - # WICHTIG - Aktiviere die Option: Include Other Input Fields → ALL.