if i edit it and try to deploy i get
# umh-support
p
@DanielH Can you send over the config, you were using here?
d
oh. i did so many tests. i think i use this the last time: pipeline: processors: - bloblang: |- let enterprise = "Autoform" let site = "Malung" let area = "none" let line = "none" let workcell = "012" let schema = "_old" let tagname = "PLC" let tagType = meta("opcua_tag_type") let payloadTagName = match { meta("opcua_tag_name") == "Maschinennummer" => "machineNumber", meta("opcua_tag_name") == "Datensatznummer" => "dataSetNumber", meta("opcua_tag_name") == "Datensatzname" => "dataSetName", meta("opcua_tag_name") == "Steuerung_Ein" => "controlOn", meta("opcua_tag_name") == "Vollautomatik_angewaehlt" => "fullAutomaticMode", meta("opcua_tag_name") == "Halbautomatik_angewaehlt" => "semiAutomaticMode", meta("opcua_tag_name") == "Zyklus_laeuuft" => "cycleRunning", meta("opcua_tag_name") == "Stoerung_steht_an" => "errorActive", meta("opcua_tag_name") == "Lifebit_PLC" => "lifebitPLC", meta("opcua_tag_name") == "Gesamtproduktionszeit_h" => "totalProductionTimeH", meta("opcua_tag_name") == "Gesamtproduktionszeit_min" => "totalProductionTimeMin", meta("opcua_tag_name") == "Zykluszeit_sek" => "cycleTime", _ => "a" } root = if $payloadTagName == "a" { deleted() }
p
Seems like, there is the underscore missing in the default case of the match statement. This, however should already be caught in the frontend
d
yes. it should be an underscore, and i was when deployed. this was a cutout i have in my notepad.
this also happends if i add for example a mapping processor in the end sometimes..
You also have a really messy bug if you try to deploy and it fails, if you leave the page in that condition it orphans the dfc leaving it dangling.
p
I can not reproduce the "Waiting for scheduler to pick up changes" currently. Will keep on trying and keep you posted
d
Interesting. i will see if i can reproduce it again.
ok. so with the config i sent. with corrected underscore. if you add: - archive: format: json_array i get the resource not found. https://cdn.discordapp.com/attachments/1344292815454339102/1344994029049348127/image.png?ex=67c2eecd&is=67c19d4d&hm=f2a16ebd1df87c4f257afbb701f67d571949159c046c05a96bf3141a19d945f6&
2 Views