I want to have the a series of choices and on each choice 'diamond' I want to show the query. However I also want to be able to link to the same activity shape from different result choice diamonds.In the old activity diagram I can't get the query to show on the diamond, but I can share target activity shapes from different choice diamonds. In new activity beta the opposite is true: I can show the question on the diamond choice but I can't get different choices to share targets!
NEW:
@startuml
header Minimum Reproducible Example
title Can't point two queries to same activity
start
!$shared = SHARED
!$nonShared = NON-SHARED
:Minimum Reproducible Example;
if (Test Question) then (yes)
:$shared;
else (no)
if (Second Test Question) then (yes)
:$shared;
else
:$nonShared;
stop
@enduml
OLD:
@startuml
header Minimum Reproducible Example
title "Can't put test query text in condition diamond"
!$shared = "SHARED"
!$nonShared = "NON-SHARED"
(*) -down-> "Minimum Reproducible Example:"
if "TEST QUESTION" then
-DOWN-> [yes] $shared
else
-RIGHT-> [no] if "SECOND TEST QUESTION" then
-DOWN-> [yes] $shared
else
-RIGHT-> [no] if "THIRD TEST QUERY" then
-DOWN-> [yes] $nonShared
-> (*)
@enduml
https://gist.github.com/systemsincode/591f86597efff9fd9cf279ab486ece0b