Relationship Action Has Exit

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

An Exit statement can be used to end an action at any point when a certain condition is fulfilled. When the Exit statement is executed this marks the action to be ended in the same way as if the last statement or tool of the action was executed. The usage of the Exit statement may make sense in a complex action containing several If/Else or Loop statements.

Example:

The following example shows an action with tools that will set the state of all tasks of the selected user story and of the story itself to state "Finished".

Note: If the story is marked as blocked an informational message is displayed and the action is ended with the exit statement.

Exit Statement