search cancel

Workflow foreach - Publish value not usable for alias name


Article ID: 88040


Updated On:


CA Automic Workload Automation - Automation Engine


Error Message :

In Foreach Workflows, it's not possible to use the value collected in a vara object and published as a script variable to change the alias of a task. For Objects see jac-export.xml attached. The screenshot shows the situation.

<Please see attached file for image>


The documentation states ( Predefined variables, placeholders for Variable objects, PromptSetvariables and object variables can be used in an alias name. These variables always refer to the workflow. The characters &, { and } must not be used in alias names. Variables are replaced when the workflow is activated. When you specify an invalid variable, an error will occur when you start the workflow. Click in order to call the variable dialog.

  1. Create a ForEach work flow.
  2. Insert one Object, e.g. a script
  3. Set the publish value from the ForEach properties as alias in the preconditions of the object
  4. It gives an error that U0007060 Activation error in 'JAC#JZ.SCRI.TEST_ALIAS'. Alias name '&ITEM#' is not valid., i.e. the published value is not available in the preconditions.


OS Version: N/A


Cause type:
By design
Root Cause: It is not possible to use this value to change the alias of a task in the workflow.


Update to a fix version listed below or a newer version if available.

The issue was found and fixed with Automation.Engine 11.2.1 in Documentation. Added a warning to the "Publish value as" field documentation of ForEach work flows to say that it is not possible to use this value to change the alias of a task in the workflow.

Fix Status: Released

Fix Version(s):
Component(s): Documentation

Automation Engine 11.2.1 - Available

Additional Information

Workaround :


1558692783860000088040_sktwi1f5rjvs16lu9.png get_app
1558536143055jac-export.xml get_app