Forums for the Business Analyst

 
  Modern Analyst Forums  Business and Sy...  General  Activity Diagram
Previous Previous
 
Next Next
New Post 6/20/2008 5: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 5:53 AM
User is offline 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

Community Blog - Latest Posts

I have always loved cooking. I learned from my Grandma June and her kitchen was her sanctuary, a small, warm sunlit space filled with jars of spices, stacks of cookbooks, and the comforting smell of something always on the stove or baking in the oven. Grandma June was as great a cook as she was a teacher to me. She never followed a recipe “to...
Now, I know, I don’t know what kind of new intro BPO may require, but at least I can promise you upfront that I have something different to say about Business Process Outsourcing or simply BPO. What is it? This hasn't been a call center job or a sales job as we all think. It is a mammoth profile, and firms are grappling to ge...
Leveraging Blockchain Technology for Enhanced Data Security in Business Operations
In an age where data breaches and cyberattacks are becoming more frequent and sophisticated, businesses are searching for robust solutions to safeguard their data. Blockchain technology has emerged as a promising tool in this quest, offering a way to secure data with unparalleled reliability. Although initially known for powering cryptocurrencies l...

 






 

Copyright 2006-2025 by Modern Analyst Media LLC