is it possible to put "else block" behind endif witouth "else" in activity-diagram?

0 votes
asked Sep 26 in Question / help by hanshengsui



if( condition then (yes)

    :return false;







As the above code shows, the execution of the code in the if block will cause the subsequent code to not be executed at all. Therefore, the statement should be written between else and endif, I think it can be placed directly outside endif. But in actual operation, I found that the sentence written in this way is not displayed. Is there any way?

Thanks a lot

1 Answer

0 votes
answered Sep 28 by The-Lu (8,980 points)

Hello H.,

With the last version (v1.2020.17, and other), if we test you code, we observe:

[See on PlantUML server]

It seems to be good? not?

If that can help,