Cross goto in activity diagram beta

0 votes
asked Apr 20, 2022 in Bug by Antoine
Hello,

I want to do an activity diagram with cross conditions.

In order to realise that, I am trying to use goto. I can link condition 2 to C but as soon as I try to link condition 1 to T, an error appears. Here is the text of the diagram:

@startuml
skinparam ConditionEndStyle hline
start
:test;
if () then
 :F;
 if () then (condition1)
  goto lab2
 else ()
  label lab
  :C;
 endif
else ()
 :H;
 if () then (condition2)
  label b
  goto lab
 else ()
  label lab2
  :T;
 endif
endif
stop
@enduml

The error appears as soon as I add a label after "if () then (condition1)". You add this to see the error.

Could you tell me if I am doing something wrong? Or if it's just not possible.

Thank you in advance,

Antoine

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...