Release date: February 16th, 2021
We are extending our
LoopedActivity to support While loops in addition to For each loops. To represent this in the metamodel, we removed the
loopVariableName properties and added a new property
loopSource of type
LoopSource (abstract element).
There are currently two types of loop sources available:
IterableList– represents the existing behavior where the loop is executed once for each element of the specified list
IterableList.listVariableName– corresponds to the old property
IterableList.variableName– corresponds to the old property
WhileLoopCondition– represents the new behavior where the loop is executed while an expression evaluates to
WhileLoopCondition.whileExpression– the expression evaluated at the start of each iteration
LoopSource, IterableList & WhileLoopCondition (Elements)
- We introduced these elements. For details, see the LoopedActivity section above.