Stack Exchange Network

Stack Exchange network consists of 174 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
Make your voice heard. Take the 2019 Developer Survey now

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

-2
votes
0answers
30 views

Example of Use Case that contains another use case

Use case diagrams can have an include relationship (eg., A include B). B could be an extension of A or steps in the flow of events. I understand the general intuition in diagrams, for example, verify ...
1
vote
2answers
61 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
34 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
69 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
79 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
1answer
38 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
37 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
78 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
253 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
39 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
44 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
44 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
835 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
61 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
146 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
290 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
62 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
125 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
60 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/...
3
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
400 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
161 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
114 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
369 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
254 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
449 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 ...
3
votes
2answers
169 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 ...
4
votes
5answers
471 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'...
7
votes
2answers
2k 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 ...
-4
votes
1answer
99 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 ...
0
votes
2answers
609 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
992 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
196 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
257 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
371 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
228 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
205 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
585 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
103 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 ...
5
votes
3answers
12k 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
811 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. ...
3
votes
2answers
721 views

What are the actors in a backend server use case?

Lets say we have a backend server maybe a database or whatever. When generating the use cases for that server who would be considered as the actor? System(front-end) or the user(user interacts only ...
8
votes
7answers
2k views

Which should be done first: use cases or user stories?

I've heard both about use cases (I'm talking about the description, not the diagram) and user stories being used to gather requirements and organize them better. I work alone, so I'm just trying to ...
-1
votes
1answer
46 views

Correct Use Case in S/W requirements

So in S/W Requirements how to know a correct use case ? for Example : this one here seems wrong but I'm not sure
0
votes
2answers
2k views

How to show a sub system like mobile application in a Use Case Diagram

Imagine the main system with the following use cases : one person may register, and book a room. At the same time there is a mobile app which is derived from the main system which is enabling the ...
5
votes
2answers
485 views

Does UML Use Case allow “use case polymorphism”?

I have two Actors: User and Admin that will interact with my system. Admin uses generalization to inherent use cases from User. I have a use case named authenticate that should have two different ...