We want to trigger an automation built in Dataminer via API but get an error code 12 as response.
This is from the Automation logs:
2025/09/02 09:42:13.013|SLAutomation.exe 10.5.2443.11256|35268|22884|CScriptRunInfo::CheckElementStates|DBG|-1|(Script IRD 24 IP GEO Television HD Main VLAN301) Could not start script: no element linked to dummy id 2 (sawd-dist3)
2025/09/02 09:42:13.013|SLAutomation.exe 10.5.2443.11256|35268|22884|CScriptLoader::StartScript|DBG|-1|Script execution could not be started (IRD 24 IP GEO TELEVISION HD MAIN VLAN301)
**********
The script works when using the “Execute” button in Dataminer and also when integrated in Visio.
I also tried another script. There, we also get the message “no element linked to dummy XXX.”
Best regards, Felix
Ah yes, it takes an scripts dummy:
ScriptDummy dummyArista = engine.GetDummy("sawd-dist3");
That one does not get set through by calling the script through the api route.