Search code examples
umluse-case-diagram

Can the use cases be executed independent according to this UML diagram?


I had a discussion with my academic teacher which tried to convince me that current diagram describes business requirement: "Actor2 can make use case 'Open transactions list' only after he makes 'Sign in' ". In my opinion and what I understand from UML the diagram describes a requirement "Actor2 can make 'Sign in' use case and 'Open transactions list' use case". There's no dependency of order how those use cases could be executed. Can someone confirm or refute my words, please?


Solution

  • Well, your teacher is wrong in two ways. First, Sign in is no use case at all as it has no added value. Second, there is no statement about the order of use cases. The only thing you could say is that Actor1 can only do Sign in while Actor2 can do both use cases.

    In order to make

    "Actor2 can make use case "Open transactions list" only after he makes "Sign in"

    true, you need a model like this: