Questions tagged [use-case]

Use-cases capture and specify requirements of a system and stakeholder expectations with a view to the objectives of its users. Do not use this tag for for questions about suitability of the use of techniques/features to solve implementation issues.

Purpose

Use-cases capture and specify requirements of a system and stakeholder expectations with a view to the objectives of its users and the added value.

Tag usage

Use this tag for questions relating to the problems that a system is supposed to solve, and to use-case analysis and design:

  • Identifying and scoping use-cases in narratives and requirements
  • Analyzing the actors and their interactions with a system
  • Abstracting use-cases from specific scenario and user-interfaces
  • Documenting use-cases in textual or tabular form
  • Modeling use-cases in UML. In this case add .

You may also use this tag for questions related to the implementation of use-cases (e.g. with )

Do not use this tag for for questions about:

  • suitability of programming techniques or features to solve implementation issues. The remaining tags should be sufficient for people to find your question.
  • exclusively UML use-case diagramming syntax. Prefer the tag combination in this case.

Additional information:

826 questions
5
votes
1 answer

How to draw sequence diagram for multiple-stages use case?

In current system, some functionalities/ use cases may need multiple stages to complete their whole procedure. Examples are like user registration which may contain two stages: inserting user record on database and email activation. Or for money…
Ivan
  • 341
  • 1
  • 4
  • 13
5
votes
2 answers

Use case modelling for calculator

i need help modelling a use case diagram from a topic, it will be in java GUI Design a Calculator that 1.Allow user to key in a legitimate arithmetic statement that involves number, operator +, - and bracket '(' and ')' ; 2.When user press…
sutoL
  • 1,737
  • 10
  • 27
  • 48
5
votes
4 answers

Use Case with 2 ways for the same action

Question 1: What is the correct way to build a Use Case (or more than one) with 2 ways to do the same action? For example: I have a 3 screens in an iOS app: 1. A map view, which can be "long pressed" and has a camera button. 2. A camera view, which…
Rodrigo Ruiz
  • 4,248
  • 6
  • 43
  • 75
5
votes
7 answers

In Which Cases Is Better To Use Regular Expressions?

I'm starting to learn Regular Expressions and I want to know: In which cases is better to use them?
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
4
votes
3 answers

Java: practical usecases for serializing Singletons?

We keep reading about how to use 'readResolve()' to ensure singleness in case of serializing a Singleton. But what are practical use cases for wanting to serialize a Singleton in the first place? EDIT: pl. note: the question is about why to…
shrini1000
  • 7,038
  • 12
  • 59
  • 99
4
votes
2 answers

Can one Activity Diagram Depict only One process

I am Working on a project for Orders data visualization Dashboard. This is the use case Diagram: 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…
4
votes
2 answers

Extended vs Generalization in Use Case

I have read this post: Use case generalization versus extension. I have 2 cases below. Case 1 Case 2 Update movie only happens when at least one of three use cases happens. In generalization relationship, there is one and only use case happens. In…
Haru
  • 71
  • 5
4
votes
3 answers

Extend in use case diagram

I read that it is not correct to connect more than one primary actor to a use case so a situation like the image below is not correct So I used inheritance like this But the use case has an extended use case that is for only one actor (the second…
4
votes
2 answers

How to display computer vision and AR in UML use case diagrams

My system uses both Augmented reality and computer vision, The first feature is: The user actor can scan a specific object and the computer vision should recognize it. The second feature is: The user actor can view a specific place using the…
4
votes
1 answer

How to access same usecase inside multiple feature modules

in the case of real large project, i have decided to use clean architecure inside each feature module of my application separately, preventing to have one Giant domain and data layer against too many features. Now , I'm thinking how to do bestEffort…
4
votes
1 answer

clean architecture : can the preseter talk to to the controller?

in the clear architecture, what uncle bob suggested. I have a lot of questions about how to correctly distribute the responsibility. it seems that there is no relationship between controller and presenter. the controller's job is to take the input…
rahul Kushwaha
  • 2,395
  • 7
  • 32
  • 64
4
votes
3 answers

How to handle different implementations in SysML/UML?

Imagine that we are building a Library system. Our use cases might be Borrow book Look up book Manage membership Imagine that we can fulfill these use cases by a librarian person or a machine. We need to realize these use cases. Should we draw…
bomberman
  • 142
  • 10
4
votes
1 answer

Use case diagram - primary and secondary actor at the same time

Can an actor be both primary and secondary in an extended management system? e.g. Warehouse worker [use case] displays the list of orders to be packed (as secondary actor), then [use cases] packs the order, marks the order as ready (as primary…
PoloOlo
  • 312
  • 3
  • 8
4
votes
1 answer

What if an actor in a use case diagram is primary and secondary actor at the same time (for different use cases)?

I have a use case diagram for an appointment scheduling app. The customer is usually the primary actor (e.g. when they register, search services, pick a date, etc.). In 2 use cases the customer is the secondary actor though (e.g. when they receive…
Promeixcel
  • 41
  • 1
4
votes
2 answers

how to resolve FATAL EXCEPTION: DefaultDispatcher-worker-4

I have written a new usecase to communicate to api which uses Flow, I am guessing I am not handing the threading properly in the Usecase between Main thread and IO thread, This is the error I get -01-18 02:20:40.555 26602-26870/com.xxx.xx.staging…
BRDroid
  • 3,920
  • 8
  • 65
  • 143