I was wondering if there is a way to depict that, on an activity that has a decision; one of the branches completely terminates with the activity. This would be similar to a subroutine just returning control to the invoker when a condition is met.
sub activity() {
...
...
if ( condition ) {
...
} else {
return;//This branch finishes the activity
}
...
}
Thanks,
Carlos