Abderrahman Elfannir
Abderrahman Elfannir

Reputation: 47

How to draw a use case diagram when an actor can change the other actor's use cases?

Let's take a social group system as example;

The question is : How to simulate the use case diagram for this situation ?

Upvotes: 0

Views: 1606

Answers (2)

Christophe
Christophe

Reputation: 73530

The fact that one actor can change another user's role (and thus make the user belong to another category of actors) is without any impact on the use case diagram.

Why ? Because a use case actor is a classifier. So, it does not represent the occurence of a user (i.e. a concrete user who's role might change) but a class of users having the given role.

enter image description here

Also important to know, a use case does not represent a workflow. A use case represents goals that a user could have. The include and extend relations represent a relation between goals and not between actions of one and the same user. So if a user belongs to another actor class, he/she just have different goals and the old goals are no longer relevant.

If you mean to represent workflows, you should consider using activity diagrams (or non-UML BPMN diagrams). In these diagrams, you then need to foresee the course of action if the change of user role might influence the workflow.

Upvotes: 0

bruno
bruno

Reputation: 32596

There is nothing special to do, in a lot of cases the execution of an UC has impact on the system ... and this is the goal of these UCs.

So nothing special in the diagram, but in the textual description you can say the report was written by the moderator etc

enter image description here

Upvotes: 0

Related Questions