Not only at execution time but also while editing or monitoring, a VARA.EXEC inside a Promptset is executed, leading to error messages in AWI
In some cases, errors are displayed when opening reports of the underlying jobs.
This is the setup that can cause this:
A Workflow contains a Script object that contains a Promptset that contains a VARA.EXEC that contains a JOBS.
When you open the Workflow for editing and you hover the mouse over the Script, the VARA.EXEC is executed every time.
When you open the Workflow for monitoring and you select the Script, the VARA.EXEC is executed.
When the JOBS refers to the JOBI that doesn't exist, in editing mode, AWI shows a red error box in the Promptset :
Error during XRequest com.uc4.webui.communication.requests.ModifiableTaskPromptSetContent Object: '<JOBS_IN_EXEC_VARA>': Include 'DOESNT_EXIST' not found in object '<JOBS_IN_EXEC_VARA>(1)', because the JOBS is executed but is incomplete.
When the JOBI exists, in monitoring mode (e.g., Last Monitor), the JOBS is also executed when you select (click on) the script object.
DE165783
Solution:
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Automation Engine
Automation.Engine 24.4.2 - Planned release October 2025