Author Topic: use case actors  (Read 13460 times)

MadhaviL

  • Global Moderator
  • Newbie
  • *****
  • Posts: 12
use case actors
« on: May 19, 2016, 11:56:08 am »
Can Anyone explain me Who are Use Case Actors i.e., Primary Use case Actors Vs Secondary Use case Actors

MadhaviL

  • Global Moderator
  • Newbie
  • *****
  • Posts: 12
Re: use case actors
« Reply #1 on: May 19, 2016, 09:21:18 pm »
The Unified Modeling Language (UML1) defines an Actor (from UseCases) as:

An actor specifies a role played by a user or any other system that interacts with the subject.

Primary Actor: The primary actor of a use case is the stakeholder that calls on the system to deliver one of its services. It has a goal with respect to the system – one that can be satisfied by its operation. The primary actor is often, but not always, the actor who triggers the use case.

 

Supporting Actors: A supporting actor in a use case in an external actor that provides a service to the system under design. It might be a high-speed printer, a web service, or humans that have to do some research and get back to us.

 Now that we are on the same “page”, let’s consider two examples:

A bank loan officer wants to review a loan application from a customer, and part of the process involves a real-time credit rating check.
Use Case Name: Review Loan Application
Primary Actor: Loan Officer
Secondary Actors: Credit Rating System
A Human Resources manager wants to change the job code of an employee, and as part of the process, automatically notify several other departments within the company of the change.
Use Case Name: Maintain Job Code
Primary Actor: Human Resources Manager
Secondary Actors: None

 

The first example is quite straight forward; we need to define the Secondary Actor because without the “Credit Rating System” we cannot successfully complete the Use Case. In other words, the goal of the Primary Actor is to successfully complete the Loan Application, but they need the explicit “help” of the Secondary Actor (Credit Rating System) to achieve this goal.

The second example is where people sometimes get confused. Within OUM we would not include the “other departments” as Secondary Actors and therefore not include them on the Use Case diagram for the following reasons:

 

The other departments are not required for the successful completion of the Use Case
We are not expecting any response from the other departments (at least within the bounds of the Use Case under discussion)
Having said that, within the detail of the Use Case Specification Main Success Scenario, we would include something like:

“The system sends a notification to the related department heads (ref. Business Rule BR101)”

Now let’s consider one final example.

A Procurement Manager wants to place a “bid” for some goods using an On-Line Trading Community (B2B version of eBay)

Use Case Name: Create Bid
Primary Actor: Procurement Manager
Secondary Actors: On-Line Trading Community
You might wonder why the Trading Community is listed as a Secondary Actor, i.e. if all we are going to do is place a bid for a specific quantity of goods at a given price and send that off to the Trading Community, then why would the Trading Community need to “assist” in that Use Case?
Well, once again, it comes back to the “User Experience” and how we want to optimize that when we think about our Use Case, and ultimately, when the developer comes to assembling some code.
In this final example, the Procurement Manager cannot successfully complete the “Create Bid” Use Case until they receive an affirmative confirmation back from the Trading Community that the Bid has been accepted. Therefore, the Trading Community must become a Secondary Actor and be referenced both on the Use Case diagram and Use Case Specification.

GiridharanK

  • Global Moderator
  • Newbie
  • *****
  • Posts: 16
Re: use case actors
« Reply #2 on: May 20, 2016, 11:58:00 am »
use case primary actor is 1 who directly interacts with the system.

Ex:  In a point of sale system, a customer walks into a shop, picks the required items and goes to the cashier for payment . here teh customer does not interact with teh system. The cashier cheks the items, cheks the quatity, generates the bill, process teh pmt, etc. The total ineracton with teh system is done by the cahsier. hence is is the primary actor.

Secondary actor here for the same point of sale - may be a database. On purchase the database shall send SMS to the customer mobile.

Database may not be a secondary actor in many of the cases. It may vary on the situation.


RahulH

  • Global Moderator
  • Newbie
  • *****
  • Posts: 8
Re: use case actors
« Reply #3 on: May 20, 2016, 06:51:57 pm »
An Actor is the one who initiates an action with the system. Actors could be anybody from persons who are the users of the system to organization and system too. They are basically initiators of the system.
Primary Actor who initiates the process or action, rest all are secondary actors.

NareshS

  • Global Moderator
  • Newbie
  • *****
  • Posts: 6
Re: use case actors
« Reply #4 on: May 30, 2016, 11:34:01 am »
A primary actor :-
                               acts on the system
                               initiates an interaction with the system
                               uses the system to fulfill his/her goal

A secondary actor :-
                             is acted on/invoked/used by the system
                             helps the system to fulfills its goal

vardhini

  • Global Moderator
  • Newbie
  • *****
  • Posts: 5
Re: use case actors
« Reply #5 on: December 10, 2016, 08:10:21 pm »
Primary Actors: The Actor(s) using the system to achieve a goal.
 The Use Case documents the interactions between the system and the actors to achieve the goal of the primary actor.
 Secondary Actors: Actors that the system needs assistance from to achieve the primary actor's goal.

Ankita

  • Global Moderator
  • Newbie
  • *****
  • Posts: 4
Re: use case actors
« Reply #6 on: January 15, 2017, 06:20:33 pm »
An actor is someone or something that interacts with the system by sending or receiving messages or information to and from the system. There are two types of actors:-
Primary Actors: Primary actors initiate the interaction with the system.
Secondary Actors : Secondary actors do not initiate the interaction with the system but participate in one or more use cases of the system.

Use case actors can be identified by asking a number of questions:

    Who will use the system to support their daily work?
    Who will maintain, administer, or configure the system?
    Who will use the output, information, or reports from the system?
    What systems or services will require information for the system?
    What systems or services will provide information to the system?

170416102

  • Global Moderator
  • Newbie
  • *****
  • Posts: 13
Re: use case actors
« Reply #7 on: April 19, 2017, 06:56:28 pm »
Actor: People or systems that provide or receive information from the system. They are among the stakeholders of the system.

Primary Actor: The primary actor of a use case is the stakeholder who stimulate the system and are the initiators of the events.
Supporting Actor: Actor that the system needs assistance from to achieve the primary actor’s goal.
« Last Edit: April 19, 2017, 07:08:35 pm by 170416102 »

Jaishree Singh

  • Global Moderator
  • Newbie
  • *****
  • Posts: 2
Re: use case actors
« Reply #8 on: June 20, 2017, 05:19:02 pm »
Primary Actor - Primary actors are the one who initiates or perform some action .

Secondary Actor - Secondary actors are the one who support system action .

Eg :   customer is making payment through online
 
          Here Customer is primary Actor and Bank will be the Secondary actor .

170422303

  • Global Moderator
  • Newbie
  • *****
  • Posts: 10
Re: use case actors
« Reply #9 on: July 02, 2017, 01:05:46 pm »
*) An actor is external to the subject, it is typically defined in the same classifier or package that incorporates the subject.
    All actors must have names according to the assumed role. Examples of actor names (user roles):
    Customer
    Web Client
    Student
    Passenger
    Payment System
*) Actors can be "PRIMARY ACTORS" and "SECONDARY ACTORS".

171525904

  • Global Moderator
  • Newbie
  • *****
  • Posts: 11
Re: use case actors
« Reply #10 on: July 04, 2017, 02:25:25 pm »
Use case actors.Actors who perform system action or interact with system capabilities are called actors, actors can be human, machine, other any system.Actors are classified in two types Primary actor and secondary actor.

Primary actor: Primary actor is an actor who initiate action first. 

Secondary actor: Secondary are those who complete primary actor initiated action or the initiated action can not be completed without actor are called secondary actor. Secondary are defined based situation  and scenarios organization current  technology.


Example: Online payment :
a) Customer who making payment using payment function are called primary actor.
b)when customer choose credit card mode to make payment and action can to completed without Third party system or DB is called secondary actor.Here Bank is secondary actor.

171035406

  • Global Moderator
  • Newbie
  • *****
  • Posts: 10
Re: use case actors
« Reply #11 on: August 27, 2017, 04:12:46 pm »
There are two types of use case actors as already mentioned primary and secondary actors.

The primary actors are manly who interact with the system to perform some action like the admin.Who has the entire control over the system and its functionalities.

Secondary actors are those which are used to attain primary actor's goal/objective like the printer/data base.

111222333

  • Newbie
  • *
  • Posts: 26
Re: use case actors
« Reply #12 on: September 18, 2017, 02:49:29 pm »
Primary use case actors vs. Secondary use case actors :-

1. Primary Actor: The primary actor of a use case is the stakeholder that calls on the system to deliver one of its services. It has a goal with respect to the system – one that can be satisfied by its operation. The primary actor is often, but not always, the actor who triggers the use case.
Supporting Actors: A secondary actor in a use case is an external actor that provides a service to the system under design. It might be a high-speed printer, a web service, or humans that have to do some research and get back to us.

2. Primary Actors: The Actor(s) using the system to achieve a goal. The Use Case documents the interactions between the system and the actors to achieve the goal of the primary actor.
Secondary Actors: Actors that the system needs assistance from to achieve the primary actor’s goal.

3. Primary Actors: Always has a goal, and the use case exists to satisfy the primary actor.
Secondary Actors: May or may not have goals that they expect to be satisfied by the use case.

1171206408

  • Global Moderator
  • Newbie
  • *****
  • Posts: 10
Re: use case actors
« Reply #13 on: October 10, 2017, 04:04:25 pm »
Primary actor is the one who is dealing directly with the system and the actor which further assists or help the primary actor in completing his job is a secondary actor.

1172904607

  • Global Moderator
  • Newbie
  • *****
  • Posts: 16
Re: use case actors
« Reply #14 on: October 14, 2017, 04:44:37 pm »
UseCase Actors:
An actor specifies a role played by a user or any other system that interacts with the subject.
 An use case is a list of actions or event steps typically defining the interactions between a role (known in the Unified Modeling Language as an actor) and a system to achieve a goal. The actor can be a human or other external system.
How do you identify actors in use case diagrams?
To identify use cases we will take the following steps:
1.   Step 1: Identify candidate system actors.
2.   Step 2: Identify the goals of the actors.
3.   Step 3: Identify the candidate use cases.
4.   Step 4: Identify the start point for each use case.
5.   Step 5: Identify the end point for each use case.

Basic types of actors that can exist in a Use Case Diagram?
Actors can be primary or secondary actors.  Primary actors initiate a use case, while secondary actors support a use case or receive something of value from the use case.
Actors can be:
1.   Human
2.   Systems/Software
3.   Hardware
4.   Timer/Clock
Many analysts miss key actors during the use case diagramming process because they only identify human actors.  Categorizing use case actors in this ways helps the analyst ensure they haven’t overlooked any critical actors within the use case diagram.