Friday, October 10, 2008

Business Analyst Forums & Systems Analyst Forums

Community


AddThis Feed Button

AddThis Social Bookmark Button

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
User is offline adrian
446 posts
5th Level Poster




Re: Activity Diagram 
Modified By adrian  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
Publisher - ModernAnalyst.com
Random Thoughts of an Analysis Manager
 
Previous Previous
 
Next Next
  Modern Analyst Forums  Business and Sy...  General  Activity Diagram
Syndicate  
Latest Posts



Privacy Statement  |  Terms Of Use
Copyright 2006-2008 by Modern Analyst Media LLC