Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Duplicate steps in Activity Diagram

 
santoshkumar savadatti
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to create an Activity Diagram for the following scenario:
There's a condition x and there are 3 steps a,b&c. The system checks if "x" succeeded or failed. a&b are available regardless of whether x was success or failure.step c is available only if x succeeded.
I'm really confused about this.
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is confusing here?
a and b happen, then based on x, if x is succeeded then c else end.
 
santoshkumar savadatti
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is not a&b or c.
If x fails, only a&b.
If x succeeds, then a,b and c.
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is common between the two? Steps a and b - so they occur no matter what the value of x is, but the step c is dependent on the value of x.
 
santoshkumar savadatti
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing common between a &b.
C depends on the outcome of X.
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was asking what is common between the two:

If x fails, only a&b.
If x succeeds, then a,b and c.

and not between Step a and b.


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic