Reputation: 145
Got a use case diagram question regarding parent child use cases.
Scenario
The parent use case is Create New Product and this has say 4 mandatory child use cases e.g. Model Product, Price Product, Approve Product etc.
The parent use case is always initiated by one actor. The same actor has an association with 2 of the 4 child use cases, whilst another 2 actors have the association with the other 4. How do I depict this digramatically. Do I show the four child connected to the parent use case using the <<include>> relationship and show the actors linked directly to the child use cases?
Thanks
Upvotes: 1
Views: 2801
Reputation: 5854
As your problem statement is quite unclear, I will make the following assumptions. Please confirm/correct them:
If so, the point here is to establish the workflow (UC order of execution) and user permissions. Permissions are easily shown using associations between actors and UCs.
Workflow is not directly depicted on a UC diagram. You should not use relationships between UCs to indicate their sequence (although there is a way). I recommend two actions to achieve what you want to achieve:
This would be the corresponding use case model:
And here is an example of an activity:
Upvotes: 3