Kapitel 13/Tutorial.md aktualisiert

This commit is contained in:
2025-08-28 17:57:05 +00:00
parent cbcb6e0410
commit e8573bc78f

View File

@@ -381,11 +381,11 @@ Damit parsen wir das JSON aus stdout in echte Felder.
Felder (Expressions): 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) 6. State ermitteln (Set-Node EIN Feld)
@@ -402,7 +402,7 @@ Expression:
``` ```
7. Switch-Node drei klare Wege 7. Switch-Node drei klare Wege
Switch → Property Name: ={{ $json.state }} Switch → Property Name: ```json {{ $json.state }} ```
Cases: Cases:
@@ -416,13 +416,13 @@ Branch NEED_CHECK
Set (kurz) 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) IF Node (einmalig in diesem Branch)
Bedingung: ={{ $json.contains_vod === true }} Bedingung: ```json {{ $json.contains_vod === true }} ```
True: Pfad beenden (VOD bereits verarbeitet) True: Pfad beenden (VOD bereits verarbeitet)