how to use "as" in new syntax for activity diagram

+1 vote
asked Dec 20, 2017 in Can't help by JL
How in the new syntax for activity diagram I can refer to the activity in the other place of uml code? (like with "as" in the old syntax). Otherwise I will need to nest multiple if statements which is not easy to read.





if (check parameters) then (true)

   :Parse file;

   if(check cond1) then (true)


    if(check cond2) then (true)




else (false -> exit with error code)




related to an answer for: separate final nodes in activity diagram

1 Answer

0 votes
answered Dec 22, 2017 by Serge Wenger Work (15,620 points)
I think you can do all what you want (without goto) with the new syntax. It is like "code" with nested if. Could you provide your previous sample like you want to write it?