Repeat and while loops are just special cases. While they are common in code, in more high-level process descriptions I almost always need the general case, which looks something like this:
Is there any way to achieve that already?
What doesn't work
- Using a "while" loop for this makes an extra arc from the loop start to "after loop"
- Using a "repeat" loop for this makes an extra arc from the loop end to "after loop"
- Using "detach" or "kill" after the loop will remove or cut the arc from the condition test to "after loop"
If it doesn't exist yet, this is how I would suggest to support it (new syntax in bold):
if (condition test) then (break loop)
else (continue loop)