Workflow foreach - Publish value not usable for alias name
search cancel

Workflow foreach - Publish value not usable for alias name

book

Article ID: 88040

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
N/A

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>

0EMb0000000HrkS.png

The documentation states (http://docs.automic.com/documentation/AE/10.0/english/AE_WEBHELP/help.htm?product=awa#ucaatw.htm): 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.

Reproduction:
  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.

Environment

OS Version: N/A

Cause

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

Resolution

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 :
N/A

Attachments

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