Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

use case diagram - conditions or decision node

Tags:

use-case

uml

guys how can I make conditions in use case diagram ? Something like decision node in activity diagram.

For example, If there is "evaluate" usecase which can lead either to Y or N, there is simply no way to express it. There is only constrain feature, that would lead to repeating { if evaluated } {if evaluated } ......

like image 947
lisak Avatar asked Oct 10 '10 23:10

lisak


2 Answers

What you probably want to use is alternative paths, basically what you do is you repeat part of your use case like this:

In step 5, if there is not enough money on the account

  1. 5.a Show a message to the user
  2. 5.b User press "Try a lesser amount" button
  3. 5.c System goes to step 3
like image 107
Édgar Sánchez Gordón Avatar answered Sep 29 '22 05:09

Édgar Sánchez Gordón


The Use Case Diagram doesn't seem to fit at all with conditions. Usually, when depicting multiple scenarios, one would make multiple use cases for each one. An activity diagram would be more fitting to display conditional logic.

like image 35
Jonn Avatar answered Sep 29 '22 07:09

Jonn