Exit activity diagram at any point

2019-07-29 16:58发布

We're currently designing an application with an exit button, meaning the user can exit the application at any time. Now, we're not sure how to write this down.

Right now, we're thinking about doing it like shown in the picture below, because this is the only way we know how to do this. However, we feel like there must be an easier way. Also: if we do this for our whole application (which is quite big), we'd get a whole ton of decision and end nodes...

enter image description here

1条回答
小情绪 Triste *
2楼-- · 2019-07-29 17:20

Your model looks ok. Instead of having multiple Final Flows you could lead all flows to a single one (just as an option).

Without knowing the exact requirements, here is another way:

enter image description here

The exit button is treated as exception. This could as well be written as

enter image description here

查看更多
登录 后发表回答