Relationship Action Has Continue/Break Loop

The Continue/Break entry is listed in the context menu of an Action Descriptor under New Child > Statement.

This statement is only valid under a loop statement. It enables you to control the flow under a loop statement.

Attribute Type Description
Statement Select Value Specifies the effect of the Continue/Break statement.

Supported values are:

Continue
Ends the current iteration of the parent loop and starts with the next iteration.
Break
Ends the parent loop statement.

Examples:

In the following example the tools to enter and change a password are called until the new password is valid.


Break Statement

The action in the following example loops over all tasks of a selected user story by using the named context "Tasks". It sets all tasks of the story to the state "Finished". If a task of the story already is in the "Finished" state a Continue statement is executed in order to jump to the next iteration of the loop.


Continue Statement