Neu Workflow LandISO

yousuf1131

Mitglied
13. August 2025
48
1
Hallo Kollegen,

ich habe eine Frage. Ich teste einen Workflow, in dem ich LandISO für mehr als einen Wert verwenden möchte.

Diese Felder funktionieren bei mir nicht, wenn ich sie teste.

1764064100083.png

Ich habe versucht, erweiterte Eigenschaften zu verwenden, aber dotliquid ist neu für mich.

Ich habe diesen Code mit Claude verwendet.

Code:
{% assign zone = "" %}

{% assign country = Vorgang.Lieferung.Lieferadresse.LandISO %}
{% if country == "BE" or country == "DK" or country == "FR" or country == "LU" or country == "MC" or country == "NL" or country == "AT" or country == "PL" or country == "CZ" %}
  {% assign zone = "Zone_1_EU" %}

{% assign country = Vorgang.Lieferung.Lieferadresse.LandISO %}
{% elsif country == "LI" or country == "CH" or country == "GB" %}
  {% assign zone = "Zone_1_non_EU" %}

{% assign country = Vorgang.Lieferung.Lieferadresse.LandISO %}
{% elsif country == "AD" or country == "IT" or country == "SM" or country == "SE" or country == "SK" or country == "SI" or country == "ES" or country == "HU" or country == "VA" %}
  {% assign zone = "Zone_2" %}

{% assign country = Vorgang.Lieferung.Lieferadresse.LandISO %}
{% elsif country == "BG" or country == "EE" or country == "FI" or country == "GR" or country == "IE" or country == "HR" or country == "LV" or country == "LT" or country == "MT" or country == "PT" or country == "RO" or country == "CY" %}
  {% assign zone = "Zone_3" %}

{% assign country = Vorgang.Lieferung.Lieferadresse.LandISO %}
{% elsif country == "AL" or country == "BA" or country == "FO" or country == "GL" or country == "IS" or country == "MK" or country == "ME" or country == "NO" or country == "MD" or country == "RS" or country == "UA" or country == "BY" %}
  {% assign zone = "Zone_3_non_EU" %}

{% assign country = Vorgang.Lieferung.Lieferadresse.LandISO %}
{% elsif country == "EG" or country == "DG" or country == "GE" or country == "IL" or country == "LB" or country == "LY" or country == "MA" or country == "RU" or country == "SY" or country == "TN" or country == "TR" %}
  {% assign zone = "Zone_4" %}

{% assign country = Vorgang.Lieferung.Lieferadresse.LandISO %}
{% elsif country == "AF" or country == "AM" or country == "AZ" or country == "BH" or country == "BD" or country == "BT" or country == "BN" or country == "CN" or country == "IN" or country == "ID" or country == "IQ" or country == "IR" or country == "JP" or country == "YE" or country == "JO" or country == "KH" or country == "CA" or country == "KZ" or country == "QA" or country == "KG" or country == "KW" or country == "LA" or country == "MY" or country == "MV" or country == "MX" or country == "MN" or country == "MM" or country == "NP" or country == "KP" or country == "OM" or country == "TL" or country == "PK" or country == "PG" or country == "PH" or country == "SA" or country == "SG" or country == "LK" or country == "KR" or country == "TJ" or country == "TW" or country == "TH" or country == "TM" or country == "US" or country == "UZ" or country == "AE" or country == "VN" %}
  {% assign zone = "Zone_5" %}

{% assign country = Vorgang.Lieferung.Lieferadresse.LandISO %}
{% elsif country == "AO" or country == "AI" or country == "AG" or country == "GQ" or country == "AR" or country == "AW" or country == "ET" or country == "AU" or country == "BS" or country == "BB" or country == "BZ" or country == "BJ" or country == "BM" or country == "BO" or country == "BQ" or country == "BW" or country == "VG" or country == "IO" or country == "BF" or country == "BI" or country == "CL" or country == "CR" or country == "CW" or country == "CD" or country == "DM" or country == "DO" or country == "DJ" or country == "EC" or country == "SV" or country == "CI" or country == "ER" or country == "FK" or country == "FJ" or country == "GF" or country == "TF" or country == "PF" or country == "GA" or country == "GM" or country == "GH" or country == "GD" or country == "GP" or country == "GT" or country == "GN" or country == "GW" or country == "GY" or country == "HT" or country == "HN" or country == "JM" or country == "KY" or country == "CM" or country == "CV" or country == "KE" or country == "KI" or country == "CO" or country == "KM" or country == "CG" or country == "CU" or country == "LS" or country == "LR" or country == "MG" or country == "MW" or country == "ML" or country == "MH" or country == "MQ" or country == "MR" or country == "MU" or country == "YT" or country == "FM" or country == "MZ" or country == "NA" or country == "NR" or country == "NC" or country == "NZ" or country == "NI" or country == "NE" or country == "NG" or country == "PW" or country == "PY" or country == "PN" or country == "RE" or country == "RW" or country == "PM" or country == "SB" or country == "ZM" or country == "WS" or country == "ST" or country == "SN" or country == "SC" or country == "SL" or country == "SO" or country == "KN" or country == "SH" or country == "LC" or country == "SX" or country == "VC" or country == "ZA" or country == "SS" or country == "SR" or country == "SZ" or country == "TJ" or country == "TZ" or country == "TG" or country == "TO" or country == "TT" or country == "TA" or country == "TD" or country == "TR" or country == "TC" or country == "TV" or country == "UG" or country == "UY" or country == "UZ" or country == "VU" or country == "VE" or country == "WF" or country == "BY" or country == "CF" %}
  {% assign zone = "Zone_6" %}

{% endif %}

Dann habe ich es ausprobiert, aber es hat immer noch nicht funktioniert.

1764064126007.png

Ich wäre sehr dankbar, wenn mir jemand einen Tipp geben könnte, wie ich weiterkommen kann.

Mit freundlichen Grüßen,
 

yousuf1131

Mitglied
13. August 2025
48
1
Es gehts! Vielen Dank!!

Hier ist die code jetzt

Code:
{% assign zone = "" %}
{% assign country = Vorgang.Lieferung.Lieferadresse.LandISO %}

{% if country == "BE" or country == "DK" or country == "FR" or country == "LU" or country == "MC" or country == "NL" or country == "AT" or country == "PL" or country == "CZ" %}
  {% assign zone = "Zone_1_EU" %}

{% elsif country == "LI" or country == "CH" or country == "GB" %}
  {% assign zone = "Zone_1_non_EU" %}

{% elsif country == "AD" or country == "IT" or country == "SM" or country == "SE" or country == "SK" or country == "SI" or country == "ES" or country == "HU" or country == "VA" %}
  {% assign zone = "Zone_2" %}

{% elsif country == "BG" or country == "EE" or country == "FI" or country == "GR" or country == "IE" or country == "HR" or country == "LV" or country == "LT" or country == "MT" or country == "PT" or country == "RO" or country == "CY" %}
  {% assign zone = "Zone_3" %}

{% elsif country == "AL" or country == "BA" or country == "FO" or country == "GL" or country == "IS" or country == "MK" or country == "ME" or country == "NO" or country == "MD" or country == "RS" or country == "UA" or country == "BY" %}
  {% assign zone = "Zone_3_non_EU" %}

{% elsif country == "EG" or country == "DG" or country == "GE" or country == "IL" or country == "LB" or country == "LY" or country == "MA" or country == "RU" or country == "SY" or country == "TN" or country == "TR" %}
  {% assign zone = "Zone_4" %}

{% elsif country == "AF" or country == "AM" or country == "AZ" or country == "BH" or country == "BD" or country == "BT" or country == "BN" or country == "CN" or country == "IN" or country == "ID" or country == "IQ" or country == "IR" or country == "JP" or country == "YE" or country == "JO" or country == "KH" or country == "CA" or country == "KZ" or country == "QA" or country == "KG" or country == "KW" or country == "LA" or country == "MY" or country == "MV" or country == "MX" or country == "MN" or country == "MM" or country == "NP" or country == "KP" or country == "OM" or country == "TL" or country == "PK" or country == "PG" or country == "PH" or country == "SA" or country == "SG" or country == "LK" or country == "KR" or country == "TJ" or country == "TW" or country == "TH" or country == "TM" or country == "US" or country == "UZ" or country == "AE" or country == "VN" %}
  {% assign zone = "Zone_5" %}

{% elsif country == "AO" or country == "AI" or country == "AG" or country == "GQ" or country == "AR" or country == "AW" or country == "ET" or country == "AU" or country == "BS" or country == "BB" or country == "BZ" or country == "BJ" or country == "BM" or country == "BO" or country == "BQ" or country == "BW" or country == "VG" or country == "IO" or country == "BF" or country == "BI" or country == "CL" or country == "CR" or country == "CW" or country == "CD" or country == "DM" or country == "DO" or country == "DJ" or country == "EC" or country == "SV" or country == "CI" or country == "ER" or country == "FK" or country == "FJ" or country == "GF" or country == "TF" or country == "PF" or country == "GA" or country == "GM" or country == "GH" or country == "GD" or country == "GP" or country == "GT" or country == "GN" or country == "GW" or country == "GY" or country == "HT" or country == "HN" or country == "JM" or country == "KY" or country == "CM" or country == "CV" or country == "KE" or country == "KI" or country == "CO" or country == "KM" or country == "CG" or country == "CU" or country == "LS" or country == "LR" or country == "MG" or country == "MW" or country == "ML" or country == "MH" or country == "MQ" or country == "MR" or country == "MU" or country == "YT" or country == "FM" or country == "MZ" or country == "NA" or country == "NR" or country == "NC" or country == "NZ" or country == "NI" or country == "NE" or country == "NG" or country == "PW" or country == "PY" or country == "PN" or country == "RE" or country == "RW" or country == "PM" or country == "SB" or country == "ZM" or country == "WS" or country == "ST" or country == "SN" or country == "SC" or country == "SL" or country == "SO" or country == "KN" or country == "SH" or country == "LC" or country == "SX" or country == "VC" or country == "ZA" or country == "SS" or country == "SR" or country == "SZ" or country == "TJ" or country == "TZ" or country == "TG" or country == "TO" or country == "TT" or country == "TA" or country == "TD" or country == "TR" or country == "TC" or country == "TV" or country == "UG" or country == "UY" or country == "UZ" or country == "VU" or country == "VE" or country == "WF" or country == "BY" or country == "CF" %}
  {% assign zone = "Zone_6" %}

{% endif %}

{{ zone }}
 
Ähnliche Themen
Titel Forum Antworten Datum
Neu Auftrag - Lieferstatus mit Workflow exportieren Arbeitsabläufe in JTL-Wawi 3
Neu Workflow mit UND / ODER - Bedingung erstellen JTL-Workflows - Ideen, Lob und Kritik 7
Using short screen recordings for JTL-Wawi workflow documentation – anyone doing this? JTL-Wawi 2.0 3
Neu Werte erhöhen per Workflow User helfen Usern - Fragen zu JTL-Wawi 3
In Diskussion Workflow OpenAI JTL-Workflows - Ideen, Lob und Kritik 0
Workflow Trigger bei Angebot-Import über Ameise JTL-Wawi 1.9 0
Neu 2.0.0: Workflow Queue wird nicht abgearbeitet via API JTL-Wawi 2.0 1
Neu Verständnisfrage zum Mahnlauf Workflow User helfen Usern - Fragen zu JTL-Wawi 0
In Diskussion Ort mit OT per Workflow bereinigen JTL-Workflows - Ideen, Lob und Kritik 3
Neu Ausdruck Rechnung beim Workflow nicht korrekt formatiert User helfen Usern - Fragen zu JTL-Wawi 6
Worker versendet keine E-Mails mehr aus der Workflow Queue JTL-Wawi 2.0 6
Gelöst Workflow - Seriennummer per Mail versenden JTL-Workflows - Fehler und Bugs 1
Neu Workflow automatisch bei Warenausgang für Bestand und Puffer JTL-Wawi - Ideen, Lob und Kritik 12
workflow führt zu "keiner Rückmeldung" / Absturz JTL-Wawi 1.11 3
Artikelpuffer Email Workflow JTL-Wawi 1.11 4
Neu Workflow Ereignis "Position hinzufügen" bei Angebote User helfen Usern - Fragen zu JTL-Wawi 0
Neu Workflow - Bedingung Lieferstatus User helfen Usern - Fragen zu JTL-Wawi 4
Workflow: Artikel geändert -> bat-script ausführen JTL-Wawi 1.11 2
Neu Workflow funktioniert nicht so wie gewollt :) User helfen Usern - Fragen zu JTL-Wawi 1
In Diskussion Workflow Abweichung Preise > Emailreport JTL-Workflows - Ideen, Lob und Kritik 3
Neu Workflow Auslöser: Artikel gelöscht User helfen Usern - Fragen zu JTL-Wawi 0

Ähnliche Themen