I am Working on a project for Orders data visualization Dashboard.
Currently I'm working on the activity diagram and my question is: Can the Manager and the Shipper login into the system and initiate their own activities in the same diagram?
I am Working on a project for Orders data visualization Dashboard.
Currently I'm working on the activity diagram and my question is: Can the Manager and the Shipper login into the system and initiate their own activities in the same diagram?
qwerty_so
On
Yes, they can. With each InitialNode a flow begins and the tokens run down the actions independently. Probably at a certain time you will have some synchronization between both (this is not mandatory but otherwise it would probably rather pointless to have two independent flows in the same diagram). In that case you either have a MergeNode (bar) to wait for both tokens to arrive or an action has two incoming edges waiting for both tokens in order to commence.
Copyright © 2021 Jogjafile Inc.


An activity diagram "specifies behavior by sequencing subordinate units". It can perfectly have several initial nodes, e.g. one for
Adminand one forManagerorShipper. And when the activity is invoked, all those initial nodes would be activated at the same time, starting each a concurrent flow, each being performed at its own pace.But this makes only sense if the
Manager's actions and theShipper's actions are really related, concurrent and somehow synchronized. E.g. every time anAdminlogin is performed, aManagerlogin would be expected.If the
Managerflow as well as theShipperflow are both independent and in reality unsequenced, you should use separate activity diagrams. In this case, trying to squeeze them into a single diagram could even be misleading.Additional remarks, unrelated to your question:
Ship Orderand theUpdate product stockwould be in a situation where actions could be interdependent.