With the old syntax for activity diagrams, it was possible (though maybe undocumented?) to have a conditional with more than 2 branches, the equivalent of a switch statement:
(*) --> if "test?" then
--> [a] "A"
else
--> [b] "B"
else
--> [c] "C"
endif
But the more or less equivalent new syntax just gives a syntax error:
start
if (test?) then when a
:A;
else when b
:B;
else when c
:C;
endif
Is it possible to have a 3 (or more) way test with the new syntax? Thanks!