Neu Workflow LandISO

yousuf1131

Mitglied
13. August 2025
42
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
42
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 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
Neu Mahnwesen per Workflow automatisieren User helfen Usern 0
Neu Ebay-Artikelimport triggert Workflow "Artikel geändert" nicht JTL-Wawi - Fehler und Bugs 0
Neu Workflow Überfällige Mahnung an Inkassoanwalt übergeben JTL-Workflows - Ideen, Lob und Kritik 0
JTL Workflow - Email addresse von Rechnungsadresse JTL-Wawi 1.9 5
Neu JTL REST API einen Workflow ausführen und benutzerspezifischen Drucker ansteuern User helfen Usern 0
Neu Retouren Variablen in Workflow für Rechnungskorrektur Wert & Korrekturbetrag JTL-Workflows - Ideen, Lob und Kritik 0
Neu JTL-Wawi 1.11.5: Sequenzieller Kundenexport mit Workflow und SQL-Queue Schnittstellen Import / Export 2
Workflow Druckvorlage personalisierte Artikel JTL-Wawi 1.11 2
Seit dem Update auf JTL Wawi 1.11.4 funktioniert der Workflow "Datei Schreiben" nicht JTL-Wawi 1.11 1
Workflow - Werte setzen JTL-Wawi 1.11 0
Seit Update auf 1.11.4 Workflow für Kartonauswahl gibt error JTL Das Objekt mit Nullwert muss einen Wert haben. BrowsePk: 152325 WorkflowAktionId: 155 JTL-Wawi 1.11 1
Neu Workflow Artkel bereits bestellt Arbeitsabläufe in JTL-Wawi 1
Neu Workflow bei Zahlungseingang User helfen Usern - Fragen zu JTL-Wawi 1
Workflow zum abrufen der Upload-Datei aus dem Shop-Auftrag JTL-Wawi 1.11 0

Ähnliche Themen