Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [use-case]

In software and systems engineering, a use case is a list of steps, typically defining interactions between a role and a system. From Wikipedia: http://en.wikipedia.org/wiki/Use_case

0
votes
1answer
53 views

Use-Cases for Two Inherited Actors

We have been developing a requirements model for a travel agency system. There are two kinds of member users: premium and free. Both users are able to cancel their previous reservations. Unlike ...
1
vote
2answers
62 views

Association in Use Case diagram have arrow?

I research about [association] in use case diagram : It is a line has not arrow as image: https://www.uml-diagrams.org/use-case-actor-association.html But i using Rational Rose: If i draw a [...
2
votes
4answers
251 views

Decoupling User Stories in Agile Development

Based on what I've read, user stories are often cast in a "who", "what", and "why" format, i.e. "[Who] wants the system to do [What], so that [Why]". The "who" and "what" seem easy to grasp. For the ...
1
vote
1answer
30 views

Formal way to list use cases by groups or sets

Just looking for some advice. I have to write a Software Analysis Document for a new application, which basically is to write and describe all use cases. First, I have to list all use cases of that ...
0
votes
2answers
91 views

How to deal with reusable use case?

I'm trying to implement the clean architecture and I'm not sure to quite understand when to reuse interactors (use cases). Considering that we have one use case such as get user information and we ...
3
votes
3answers
129 views

Can there be different use case diagrams of the same system for different stakeholders?

Can there be different use case diagrams for the same system with differing levels of complexity? My question arises due to the fact that use case diagrams can represent a single system in a complex ...
1
vote
1answer
122 views

Clean Architecture: Calling a Usecase from the Controller

In the context of Clean Architecture, is the following execution path right? The controller sends a request model (input) to an interactor. The interactor executes a use case dependent on the request ...
1
vote
2answers
155 views

UML - Identifying use cases and actors

I'm currently learning object-oriented programming and we have moved on to UML. We are learning about use cases and actors currently and we need to create a list of actors and use cases initiated by ...
1
vote
1answer
56 views

How to depict several sub-options in use case diagrams

Shown in the image below is an example of an actor that can perform an action and this action branches into several options (none of them HAVE to be performed). My question is whether the arrows ...
3
votes
1answer
106 views

How to convert a use case to a use case diagram?

Suppose I have a use case, like this example. Normal Flow: The user will indicate that she wants to order the items that have already been selected. The system will present the billing and shipping ...
1
vote
2answers
47 views

User story - Discussing the secondary actors of a use case

Suppose the client wants to build an online shopping system. If we think of use case scenario, a database or a bank would be a secondary actors to this system. Is it valid to have a user story like ...
1
vote
2answers
66 views

Detecting UML usecase correctly

UML Diagrams says: A use case is a kind of behaviored classifier that specifies a [complete] unit of [useful] functionality performed by [one or more] subjects to which the use case applies in ...
0
votes
1answer
36 views

Should complete user story be implemented by one team in context of microservices archicture

I have implemented application using microservices architecture. I take a user story to implement. This involves front end/UI, and two microservices to implement the user story. So I have three ...
2
votes
2answers
76 views

If a user delivers a file as input for a use case, what is the actor : the user or the file

Our call center collects requests from customer, which are processed by back office. Much of the requests are passed in spreadsheets by type of request. In view of automating some work of back office, ...
1
vote
1answer
176 views

Use case interactions in clean architecture

I'm experimenting with Clean Architecture for my turn-based strategy game project. I have use cases that form hierarchies and need to be coordinated with each other. I would like some advice on how to ...
-3
votes
2answers
174 views

Use Case Diagram for Mobile and Web

Do I need to create a different use case diagram for my mobile app and for my web app? I have a mobile and a web app but mobile users cannot access the web application. Only the admins can do that.
1
vote
1answer
44 views

Can I use UML use cases to model settings?

Is correct to represent setting options using use cases? For example the user can: - enable background updates - change map color - change interval updates From https://www.uml-diagrams.org/use-...
1
vote
2answers
280 views

How to keep track of all functionality in a large application

As the title says - how to keep track of functionality as the application grows large? My company use Word-documents where the application has been broken down into chunks called "use cases" - which ...
0
votes
1answer
119 views

Android Clean Architecture - Seperate Usecases, Single Usecase, or not a Usecase at all?

I'm working on refactoring an older project of mine to follow the Clean Architecture paradigm (and loving it so far) and one of my components is causing me a bit of confusion in relation to whether or ...
-3
votes
1answer
395 views

Difference between UML 2.0 vs 2.5 in use case diagram

I got a question in examination asking to draw an Use case diagram using UML 2.5. However I can't figure out what are the changes in UML 2.5 and 2.0 in Use case diagrams.
0
votes
1answer
58 views

detailing different implementation of the same use case for different user types - Use Case Diagram

I am making a use case diagram that includes multiple users. 2 of these users share the same use case but each with different usage. In case a global use case diagram is already done and a detailed ...
0
votes
0answers
47 views

How can I group related functions within a use case?

Context In the context of a GraphQL API let's consider this query: query { blogPosts { id title body author { id name } ...
1
vote
1answer
81 views

How properly include dependencies to artifacts in UML use cases

I want to express a use case diagram involving two stakeholders, where one stakeholder's use case is co-depending on an artifact, that is produced by the other stakeholder's use case. In the ...
3
votes
4answers
2k views

Separation of application logic and domain logic in Clean Architecture

I'm struggling with the separation of logic between entities and interactors or Use Cases. If I design the entities with DDD principles, each entity would have methods corresponding to use cases, ...
1
vote
1answer
79 views

Is 'extending' a use case unnecessary when it is directly associated with the actor?

I have an Employee who can view items . he also can checkout an item independently (regardless of manage items use-case ). The problem is that when an Employee view items he can choose to checkout one....
1
vote
1answer
205 views

UML, <<extending>> and <<including>> from the same use case

This is a use case diagram about the enrollment of students at a university. There are several flaws in it, and I have to find them. I am wondering what is happening when you get to use case "Choose ...
1
vote
1answer
294 views

When “Log in” should be a use case and when not?

I know this question has been asked many times in different forms, but I feel that there is still no definitive answer to it. Some say login is not a valid use case because login does not have any ...
2
votes
2answers
71 views

Is a file hosting server a secondary actor in a “Play a Video” usecase?

I have a use-case named "Play a Video" in my project. The video is played from a purchased webserver on which i host the video only for my application's use.Now in the "Play a Video" use-case is "File ...
1
vote
2answers
130 views

Are repeat, forward, rewind and stop extending usecases of the base usecase “Play Music” in a music player?

I am confused in a scenerio, where i have a music player that has a music playlist. I need help on the following usecase of the music player. Title : Play the music playlist Precondition: ...
1
vote
1answer
55 views

How can we make Use Case Model in UML for given Statement?

I have the following statement for which I have to make Use Case Model I am just stuck at two points, I have completed all the actors and use cases. Problem Statement News Mobile Application offers ...
1
vote
0answers
91 views

Generalisations in Use Case Diagrams

The application I'm creating allows the sales team, and development team to manipulate 'environments'. I am visualising this through a use-case diagram. Essentially, both roles are able to search/...
5
votes
1answer
2k views

Clean architecture - How do I deal with use case reuse?

Trying to apply Uncle Bob's clean architecture to an application I'm maintaining and I'm having difficulties with use cases and duplication/reuse. It's my understanding that usecases should be self ...
0
votes
2answers
759 views

use case diagram for data collection

I am creating a project related to education system in which data of universities ,admission and scholarships will be gathered and displayed on site. In this project I am scraping data from different ...
1
vote
1answer
266 views

Modelling a UML Use Case Diagram from a scenario with detailed information

I am having trouble gaining an intuition about UML Use Case Diagrams and what to include in them and what not, starting from a given scenario in prose. I have read through my course materials and the ...
2
votes
1answer
169 views

Use case causes other use cases

I am making this independent drone control system that a user can start and stop. When the program is started, the connected drone takes off, hovers, and turns to face the other side. At first I ...
3
votes
2answers
619 views

Use Case Diagram

I'm not sure if my diagram is correct, is it ok to have this number of include relationship? Note: My system scenario: user go to web page and enter any Twitter user account, then my system will ...
3
votes
2answers
373 views

Use Case Diagrams - Are all use cases conducted by an outside user?

In system design using use case diagrams are all use cases initiated/done by the external user: e.g. add line item, print receipt Or can use cases be entirely internal/automatic: e.g. calculate ...
1
vote
1answer
688 views

Understanding use case levels

I've found out that there are 5 use case levels: Level 0 Cloud Level 1 Kite Level 2 Sea Level 3 Fish Level 4 Clam Cloud level lists only high level users goals such as "Manage files". Kite level ...
4
votes
2answers
199 views

Is there a valid use case for the using namespace directive?

I looked trough some of my older code and found that I was using the using namespace directive. From what I read in a lot of google results, it seems that it is never a good idea to use this. Is there ...
5
votes
5answers
629 views

Is it feasible to use User Stories and Use Cases in the same team?

I am trying to encourage working practices that are more agile. I am trying to understand the difference between a Use Case and a User Story. I have read a lot of articles and questions like What'...
8
votes
3answers
3k views

Clean Architecture - Too many Use Case Classes

I'm going into Clean Architecture and lift my Android level from MVC to MVP, introducing DI with Dagger 2, Reactivity with RxJava 2, and of course Java 8. In MVP clean architecture there is a layer ...
-3
votes
1answer
119 views

System requirement in use case diagram [closed]

I have system requirements that the system will send an alert to the user. This requirement is the most important requirement of my system. Is it represented in the use case diagram or not? Thank ...
1
vote
2answers
874 views

Google Map API as an actor to my system [closed]

My system will deal with Google map API to locate user's location after his/her request. I am drawing the use case diagram and wondering if "Google Map API" should be an external actor to my system ...
2
votes
1answer
2k views

How to model two-step Login in UML via Use Cases and Sequence diagrams properly?

I need to create a login page for a basic accountancy-related application. Login action should be two-step one: User enters their username and password and hits "Authorize" button, After successful ...
2
votes
1answer
290 views

Automatic blocking/unblocking of allocated seats in a movie ticketing system [closed]

I am trying to build a movie ticketing system. But I am not able to figure out how to solve the below use case: Let’s say there are 10 seats namely S1,S2,S3,S4… S10. Now let’s say that User1 had ...
-1
votes
1answer
373 views

Can a use case be both an extension and an inclusion?

Can a use case be both an extension and an inclusion?
-1
votes
2answers
516 views

Should we use 'include' in use case diagrams for use cases belong to different actors

I have a requirement that is a user of the system can make a complaint about an organization and then the admin can blacklist that organization. Do I have to include the use case "Make complaints"(of ...
3
votes
2answers
256 views

Use Case Diagrams. Include

If I have two use cases: Send Email, and View Contact Page. And Send Email includes View Contact Page. Do I still need to use association to connect my actor(user) with Send Email if I want to show ...
-3
votes
3answers
234 views

Doubts about requirements (textual use cases and functional and user requirements)

Im studying about requirements but Im with some doubts. I read that it is common in a project to divide the requirements into user, functional and non functional and I studied about the three types. ...
4
votes
1answer
1k views

Use case diagram and actor generalization: different use case diagrams for unlogged user and logged users

I'm developing a software that manages a shop. Anyone can visit the shop as unlogged user (aka visitor). If you want to buy something you have to login first (you become a logged user) and then you ...