Variables not resolved in <Parameteres...> tab of execute object condition

Document ID : KB000087654
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
U01001308 Variable '?' has not yet been defined.'.

When setting system variables within the <PARAMETERS> section of a Precondition, using a system variable will fail.

Investigaton

1.) Create a workflow with a test job in it.
2.) On the job's task properties add an 'Execute Object' precondition.
3.) Create a SCRI object with a prompt to be executed by the precondition defined in step 2.
4.) Add the SCRI object to the precondition and edit the <PARAMETERS> section.
5.) Add a system variable to the <PARAMETERS>. For example, &$AGENT#
6.) Execute the workflow. You will see:
U00021719 Syntax error in object '*', line '00000'. 'U01001308 Variable '$AGENT#' has not yet been defined.'.
 

Cause:
Cause type:
Defect
Root Cause: Behavior has been improved where variables were not resolved in the tab of the execute object condition.
Resolution:
This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: Released

Fix Version(s):
Automation Engine 11.2.3 - Available
Additional Information:
Workaround :
Set variables within a job via :PSET