Iterate
this tag can be used to do just what its name says, "iterate"
over the values that a specified cursor may have. It will
continue to iterate until there are no more values and then
will no longer execute the underlying action.
Children Tags
Required Attributes
cursor
Identifies the cursor name that will be used to fetch the
next result.
Usage Examples
Example #1
<sequence>
<query cursor="cursor2" uri="storage://OUTPUT/myevents.txt" />
<iterate cursor="cursor2">
<if>
<eq op1="${cursor2.field2}" op2="valueX" />
<then>
<log>${cursor2.field1}</log>
</then>
</if>
</iterate>
</sequence>