I was asked to write a use case diagram based on a description/scenario and I got a little confused when designing this use case because I doubted a little whether it's a functional or non-functional requirement (because I'm specifying how, not what)

In my case, the user shall be able to add transactions manually or automatically.

Would the above be a correct representation?

1 Answer 1


No syntactically this is wrong: you can only associate use cases to actors and not to other use cases:

enter image description here

A better approach is to use inheritance, because adding automatically or manually are both specific cases of the more general case of adding transactions:

enter image description here

This being said, use cases should be goal oriented. Adding transactions could be a valid objective, but whether automatic or not seems a detail that is not necessary relevant at the level of the use case (i.e. could be better represented in the activity diagram that’ll model how the use case will work). It’s not forbidden to show this kind of details but it’s functional decomposition that leads to over-complicated diagrams where the big picture is lost.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.