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

3
votes
3answers
72 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
67 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
1answer
84 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
47 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 ...
2
votes
1answer
85 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
40 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
65 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
73 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, ...
0
votes
1answer
113 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
83 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
41 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-...
0
votes
1answer
103 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
338 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
42 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
45 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
61 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 ...
1
vote
4answers
1k 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
68 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
166 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
291 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
70 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
128 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
70 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/...
4
votes
1answer
1k 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
545 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
229 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
136 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
471 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
321 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
552 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
181 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
575 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'...
6
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
110 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
718 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
1k 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
236 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
300 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
442 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
243 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
220 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 ...
1
vote
1answer
642 views

Use cases with no primary actors

Say I need to model two use cases: "do something" via a batch file interface and via a web service call (UC1 and UC2). Batch interface will "do something" with each record in the file, while web ...
0
votes
1answer
67 views

Identifying the use case for instantiation only through existing instances

I was in my CS class when my instructor presented me the following classes: public class UninstantiableTest { private static Uninstantiable uninstantiable; public static void ...
1
vote
0answers
109 views

Use case extend for 1 actor

I have a doubt related to the construction of a simple use case, basicly i have 2 actors in my example, and i connected the first actor to some use cases in which 1 of them has some optional ...
6
votes
3answers
13k views

Difference between scenario and use-case

Is a scenario a bigger picture with more details than a use-case or how much difference is there? I write a report where I prefer the word scenario but in my training we used the word use-case (in a ...
5
votes
4answers
888 views

What are some good alternatives to use cases when the system has no actors?

I'm working on a software and hardware system which is completely autonomous in its activities. There is no user involved and one external system which data is sent to. There are a lot of different ...
5
votes
3answers
4k views

Use case diagram (UML): Should database storage be an sub use case (in this diagram)?

Application background A short description of what the application should do I'm developing an application which analyses DNA sequences. The user will load a certain file containing a DNA sequence. ...