Variable picker does not show predefined variables &$LOOP_COUNT# and &$LOOP_INDEX#

Document ID : KB000084454
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
N/A

The variable picker does not show predefined variables &$LOOP_COUNT# and &$LOOP_INDEX# in the variable picker in the task context of a foreach workflow.

Investigation

1. Display the properties of a task within a FOREACH workflow.
0EM0N000001hrD0.png


2. Add a Pre condition.
0EM0N000001hrD5.png
   or a Post condition.
0EM0N000001hrDA.png

3. In the Pre/Post conditions context view, drag and drop a condition,
0EM0N000001hrDF.png


    then an action. In the 'Variable' field click on '$x' to view the list of predefined variables:
0EM0N000001hrDK.png

     The list then appears.  Select 'Object Properties' in the drop-down box:
0EM0N000001hrDP.png

Results

Expected: Variables '&$LOOP_COUNT#' and '&$LOOP_INDEX#' should be in the list.

Actual: They are missing.
Environment:
OS Version: N/A
Cause:
Cause type:
Defect
Root Cause: Predefined variables &$LOOP_COUNT# and &$LOOP_INDEX# are not shown in the variable picker in the task context of a foreach workflow.
Resolution:
Update to a fix version listed below or a newer version if available.

Fix Status: In Progress

Fix Version(s):
Component(s) : Automation Engine & Automic Web Interface

Automation Engine 12.2.0 - Planned release date: 2018-06-19
Automation Engine 12.1.1 - Available
Automation Engine 12.0.4 - Available
Additional Information:
Workaround :
Type in manually the name of the desired variable(s).