UML Activity diagram: decision branch ends whole activity
Posted
by Ytsejammer
on Stack Overflow
See other posts from Stack Overflow
or by Ytsejammer
Published on 2009-10-20T22:27:56Z
Indexed on
2010/05/11
13:24 UTC
Read the original article
Hit count: 281
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
© Stack Overflow or respective owner