Usage of Variables in CHILD_QUEUE of a Workflow fail.

Document ID : KB000085003
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
U00007053 Workflow activation error: 'JOBP.TEST.QUEUE.VARIABLE'. Child-queue '{QUEUE.VARA,QUEUE_NAME,1}' not found in client '0022'.

It is not possible to use the variable format {QUEUE.VARA,QUEUE_NAME,1} in the attribute field Children queue, see screenshot 1 below.

When attemptingĀ to execute such a job, an error is returned, see screenshot 2.

Screenshot 1
0EMb0000001QnTG.png

This is inconsistent to the behavior when using this format in other fieldsĀ (e.g. field Queue in the screenshot below).

Screenshot 2
0EMb0000001QnTL.png
Environment:
OS Version: N/A
Cause:
Cause type:
Defect
Root Cause: Variables are not resolved when used in the workflow attribute "CHILD_QUEUE".
Resolution:
Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Automation Engine 12.1.0 - Available
Automation Engine 12.0.1 - Available
Automation Engine 11.2.4 - Available
Additional Information:
Workaround :
Use these script lines in the process tab of the workflow:

:SET &QUEUE# = GET_VAR(QUEUE.VARA,QUEUE_NAME) :PUT_ATT CHILD_QUEUE = '&QUEUE#'