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

book

Article ID: 84454

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

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.

<Please see attached file for image>

0EM0N000001hrD0.png


2. Add a Pre condition.

<Please see attached file for image>

0EM0N000001hrD5.png
   or a Post condition.

<Please see attached file for image>

0EM0N000001hrDA.png

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

<Please see attached file for image>

0EM0N000001hrDF.png


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

<Please see attached file for image>

0EM0N000001hrDK.png

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

<Please see attached file for image>

0EM0N000001hrDP.png

Results

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

Actual: They are missing.

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.

Environment

OS Version: N/A

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).

Attachments

1558704657726000084454_sktwi1f5rjvs16lo5.png get_app
1558704656056000084454_sktwi1f5rjvs16lo4.png get_app
1558704654167000084454_sktwi1f5rjvs16lo3.png get_app
1558704652274000084454_sktwi1f5rjvs16lo2.png get_app
1558704650319000084454_sktwi1f5rjvs16lo1.png get_app
1558704648217000084454_sktwi1f5rjvs16lo0.png get_app