Hi,
I'm working on an automation that creates a scheduled task.
In this task, I select an automation script that includes a preconfigured dummy element.
Depending on the script I choose in the scheduler, the dummy element may vary. However, when the task executes, I receive an error stating that no dummy was selected. This is confusing, as the dummy is already preconfigured in the script.
When I manually select the script in the scheduler UI, simply selecting the script is enough—it automatically fills in the correct dummy element without any issues.
I’ve tried two approaches when creating the task programmatically:
-
Leaving the
PROTOCOL:1:
element empty -
Omitting the
PROTOCOL:1:
element entirely
In both cases, the error persists. What's more confusing is that when I inspect the scheduled task afterward, the correct dummy element is visible (like in the second image). However, the task still fails with the "no element linked to dummy" error during execution.
Interestingly, if I manually open the "Actions" tab of the scheduled task and click OK (without making any changes), the task then executes correctly.
Is there a known workaround for this issue? If this is the expected behavior, it seems inconsistent compared to the manual setup and could cause problems in automation workflows. My project depends on this mechanism, and I didn't anticipate running into this kind of issue.
Thanks in advance for your support.