Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Activity diagram problem

 
Harshana Dias
Ranch Hand
Posts: 343
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

How can we represent two activities that only one activity can be done prior to a another activity?

If I say with a example like, user is submitting a form so before he submitting he select either enter some test in a text area or enter an image. so both activities belong to submit form activity but only one can be done..either submit the text or submit the image?

Thank You.
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could name the activity "Enter Text or Image".
 
Harshana Dias
Ranch Hand
Posts: 343
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kengkaj Sathianpantarit wrote:You could name the activity "Enter Text or Image".


Ohh is it ok..sound cool. i was wonder there some notation like Fork or Join in Visio..by the way those are for parallel(simultaneous) activities right? cool

Thank you.
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're right. Fork and join are for modeling parallel activities, which was not what you wanted to do.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic