LOOPINDEX
This establishes a counter that tracks the number of times the statement has executed. This is a zero based counter and is maintained by the system. This should be used inside MATHLOOP math variables.
| TYPE = IIF | ||||
|---|---|---|---|---|
| Element | Attributes | Parent Element | Description | Element/Attribute Value |
|
<MathVariable> |
TYPE |
There is no element value needed. |
||
|
|
Yes: the result is stored in AsActivityMath table to be used by other activities. No: the result is not stored. This is the default behavior. LOG |
|||
|
|
The name of the MATHLOOP math variable this is associated with. SOURCEARRAY |
|||
|
CLEARVALUE |
Optional |
Value: Yes / No Default Value: No Yes: The value of the math variable will be deleted after the execution of all the Attached Rules at the end of activity processing and will not be visible on the Math tab in the Activity details screen. No: The value of the math variable will be retained after activity processing and will be displayed in the Math tab in the Activity details screen. |
||
XML Example
<MathVariable VARIABLENAME="Segments_index" TYPE="LOOPINDEX" SOURCEARRAY="Segments" DATATYPE="INTEGER"></MathVariable>