Career Forums

 
  Modern Analyst Forums  Business and Sy...  General  Activity Diagram
Previous Previous
 
Next Next
New Post 6/20/2008 6:00 AM
User is offline tina
2 posts
No Ranking


Activity Diagram 

Can a action in Activity Diagram have options such as yes and no and go to the same action.

 

For example

Action will be Display Warning . Under the Action we have Notes: Deleting this will also delete associated records. Do you want to continue?

Yes - Delete Information

No-Delete Information

 
New Post 6/20/2008 6:53 AM
Online now... Adrian M.
765 posts
3rd Level Poster




Re: Activity Diagram 
Modified By Adrian M.  on 6/20/2008 8:54:40 AM)

 tina wrote

Can a action in Activity Diagram have options such as yes and no and go to the same action.

For example

Action will be Display Warning . Under the Action we have Notes: Deleting this will also delete associated records. Do you want to continue?

Yes - Delete Information

No-Delete Information

The  better way to model it is to:

  • have one activity/action which shows what the system does: Display Warning: "Deleting this .... "
  • then show a decision point (the diamond in activity diagram) which would represent the user's action:  "Do you want to continue?" which would have two options (sequence flows) one for "Yes" and one for "No".
  • the "Yes" path would lead to another activity which would be a system action and would be "Delete the associated records."

- Adrian


Adrian Marchis
Business Analyst Community Blog - Post your thoughts!
 
Previous Previous
 
Next Next
  Modern Analyst Forums  Business and Sy...  General  Activity Diagram

 






 

Copyright 2006-2024 by Modern Analyst Media LLC