How to Identify Use Cases in UML Modeling

A use case approach is a kind of technique for identifying the business goals of a system. The identification of use cases helps define system scope, ensuring that the requirements to be found will all be aligned with the business values, needs and strategy.

What are Actors in Use Case Analysis?

An actor specifies the role played by the user or any other system that interacts with the system under developed. It may represent the role played by human users, external hardware, or other principals. Actors are always outside the system, interacting directly with use cases by initiating them, providing inputs to them, and/or receiving outputs from them. While a single physical instance may play the role of multiple different actors, actors do not necessarily represent a specific physical entity, that is, the timer that triggers sending E-mail alerts.

Identifying Use Cases — Characteristics of Actor in Use Case Analysis
Simply enumerate the team members’ perceptions of the stakeholders or the targeted users, and it is easier to reach a consensus during the discussion.

  1. The actors are located outside the system, it does not belong to a certain part of the system, so we don’t need to “build” the “actors”;
  2. Only those who can use the system, interact with the system, and exchange information with the system are the actors of the system;
  3. Actors will start and participate in use cases, so finding Actors can guide us to find use cases;
  4. Although we don’t need to “develop actors”, we need to consider interfaces. The system needs to consider the interface for actors to use (user experience / GUI), or the system needs to obtain data through the interface provided by the actors.

Who are the actors? Ask the following questions:

  1. Who will use this system?
  2. Who will install this system?
  3. Who will start this system?
  4. Who will maintain this system?
  5. Who will shut down this system?
  6. Which other systems will use this system?
  7. Who will get information from this system?
  8. Who will provide information to this system?
  9. When the preset time arrives, will something happen automatically?
  10. Which systems will be networked with this system?
  11. Are there any hardware devices connected to this system?
  12. Which databases will be networked with this system?
  13. Who in the company will use this system?\
  14. Who will use this system outside the company?
  15. When a specific time or event occurs, does this system need to automatically notify who or other systems?

Types of Actor

Many analysts ignore key actors in the use case diagram drawing process because they only identify human actors. Classifying use case actors in this way helps analysts ensure that they do not ignore any key actors in the use case diagram.

There is another way to classify participants. They can be:

  • human beings
  • System / software
  • Hardware
  • Timer / clock

A List of Question for Identifying Use Cases

  1. What kind of functions do participants want from this system?
  2. Does this system store information? Which participants will create, read, update and delete this information?
  3. Does the system need to notify participants when the internal state of the system changes?
  4. Are there any external events that the system needs to know? When this external event occurs, which actor will notify the system?
  5. Does this system need to perform any operations on a regular basis?
  6. When some important external events occur, does the system need to automatically perform certain operations?
  7. Is the name of this use case clear enough? Can the result of this use case be judged directly from the name of this use case?
  8. Will this use case have multiple results? Or are these results produced at different points in time?

Leave a Reply

Alamat email Anda tidak akan dipublikasikan.