From e8573bc78f88be7adb28066a8ec9f532ac3c8b28 Mon Sep 17 00:00:00 2001 From: Thomas Dannenberg Date: Thu, 28 Aug 2025 17:57:05 +0000 Subject: [PATCH] Kapitel 13/Tutorial.md aktualisiert --- Kapitel 13/Tutorial.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Kapitel 13/Tutorial.md b/Kapitel 13/Tutorial.md index ca65cc2..40d5b92 100644 --- a/Kapitel 13/Tutorial.md +++ b/Kapitel 13/Tutorial.md @@ -381,11 +381,11 @@ Damit parsen wir das JSON aus stdout in echte Felder. Felder (Expressions): -file_exists → ={{ JSON.parse($json.stdout).file_exists }} +file_exists → ```json {{ JSON.parse($json.stdout).file_exists }} ``` -non_empty → ={{ JSON.parse($json.stdout).non_empty }} +non_empty → ```json {{ JSON.parse($json.stdout).non_empty }} ``` -vods → ={{ JSON.parse($json.stdout).vods }} +vods → ```json {{ JSON.parse($json.stdout).vods }} ``` 6. State ermitteln (Set-Node – EIN Feld) @@ -402,7 +402,7 @@ Expression: ``` 7. Switch-Node – drei klare Wege -Switch → Property Name: ={{ $json.state }} +Switch → Property Name: ```json {{ $json.state }} ``` Cases: @@ -416,13 +416,13 @@ Branch NEED_CHECK Set (kurz) -currentVod → ={{ $json.vodId ?? $json.data[0].id }} +currentVod → ```json {{ $json.vodId ?? $json.data[0].id }} ``` -contains_vod → ={{ Array.isArray($json.vods) && $json.vods.includes($json.currentVod) }} +contains_vod → ```json {{ Array.isArray($json.vods) && $json.vods.includes($json.currentVod) }} ``` IF Node (einmalig in diesem Branch) -Bedingung: ={{ $json.contains_vod === true }} +Bedingung: ```json {{ $json.contains_vod === true }} ``` True: Pfad beenden (VOD bereits verarbeitet)