Workflow foreach - Publish value not usable for alias name

Document ID : KB000088040
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
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.

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
File Attachments:
jac-export.xml