Activity Diagram with multiple end points

Imran Khan picture Imran Khan · Aug 30, 2015 · Viewed 8.3k times · Source

My Question may be simple, but I am confused because I have no idea about activity diagrams.

My question- Are multiple end points ever acceptable in an activity diagram?

Answer

qwerty_so picture qwerty_so · Aug 30, 2015

It's a bit touchy to reference IBM though they are one of the big OMG parents. The "truth" is written in OMG's superstructures.

Actually UML2.5 talks about Final Node in the context of activity diagrams:

Final Nodes

A FinalNode is a ControlNode at which a flow in an Activity stops. A FinalNode shall not have outgoing ActivityEdges. A FinalNode accepts all tokens offered to it on its incoming ActivityEdges.

There are two kinds of FinalNode:

  1. A FlowFinalNode is a FinalNode that terminates a flow. All tokens accepted by a FlowFinalNode are destroyed. This has no effect on other flows in the Activity.
  2. An ActivityFinalNode is a FinalNode that stops all flows in an Activity ...

A ControlNode is a kind of ActivityNode and those form Activities. The definition except in the context of the FinalNode does not tell how the single ActivityNodes can be related. So from that you can have as many as you like/need.