@david-g Ja dann hier nur nochmal eine einfach JSONATA Lösung mit regulärem Ausdruck mit dem common Objekt.
6a5b6615-9c16-4cb5-8db2-35c0eba08bb5-image.png
Ansonsten halt weglassen.
$match(common.states,/\w+/).match~>$distinct()
also nur
$match(states,/\w+/).match~>$distinct()
Spoiler
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="f{SPWMDeJ!t?Tt{oHa-w">Liste</variable>
</variables>
<block type="variables_set" id="jKN8F;HD7[UKq45_:Vw{" x="-287" y="-237">
<field name="VAR" id="f{SPWMDeJ!t?Tt{oHa-w">Liste</field>
<value name="VALUE">
<block type="convert_json2object" id="gY[U%GBa-TB2;qcL^=87">
<value name="VALUE">
<block type="text" id="HdUSNbWPE)HiUPN4!yw[">
<field name="TEXT">{ "common": { "states": "localhost:localhost;proxmox:proxmox;MariaDB:MariaDB;Docker:Docker;Adguard:Adguard;Jellyfin:Jellyfin;AgentDVR:AgentDVR;TrueNAS:TrueNAS;Wireguard:Wireguard;" } }</field>
</block>
</value>
</block>
</value>
<next>
<block type="debug" id="CN/v16=5#s1D|=8)yk[}">
<field name="Severity">info</field>
<value name="TEXT">
<shadow type="text" id="-n5X=}DS{1k*jws-P:%,">
<field name="TEXT">test</field>
</shadow>
<block type="variables_get" id="^o;H~=_0K^WR1PF,+5R:">
<field name="VAR" id="f{SPWMDeJ!t?Tt{oHa-w">Liste</field>
</block>
</value>
<next>
<block type="variables_set" id=";CqShE#z4I$MLA3-2e;m">
<field name="VAR" id="f{SPWMDeJ!t?Tt{oHa-w">Liste</field>
<value name="VALUE">
<block type="convert_jsonata" id=":%m?7,V!o=^RxLW@VkF9">
<value name="EXPRESSION">
<shadow type="text" id="U0x!nDlO!=6Wl|+I`4P~">
<field name="TEXT">$match(common.states,/\w+/).match~>$distinct()</field>
</shadow>
</value>
<value name="TARGET">
<block type="variables_get" id="t-{z1,$a7wl~_lusrXW4">
<field name="VAR" id="f{SPWMDeJ!t?Tt{oHa-w">Liste</field>
</block>
</value>
</block>
</value>
<next>
<block type="debug" id="-F}Nw`irgr)0w_],AYKV">
<field name="Severity">info</field>
<value name="TEXT">
<shadow type="text" id="*fR:|[obP+4|R)-AOCP^">
<field name="TEXT">test</field>
</shadow>
<block type="lists_getSublist" id="}/zTsh*p-V6mK,z!qD$l">
<mutation at1="false" at2="false"></mutation>
<field name="WHERE1">FIRST</field>
<field name="WHERE2">LAST</field>
<value name="LIST">
<block type="variables_get" id="jdxs=WV==C.]F`0XK5VK">
<field name="VAR" id="f{SPWMDeJ!t?Tt{oHa-w">Liste</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</xml>