• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help Need In Sequence Diagram

 
Ganesh Krishnan
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

While representing the Login Use Case through Sequence diagram, how can we represent the Alternate flow of signon error/sucess, based on which the NextView would be selected.

Do we need to represent both the cases as different diagrams or it is enough to have a single diagram and give a high-level message like 'GetResponse' instead of Error/Sucess message in which case the representation to the Next View Selected would be generic .

Something like :

Forward<--------Select Next View<-------GetResponse

TIA,
Ganesh
 
Dhiren Joshi
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ganesh ,
Show the sequence diagram notation like
[if success] then do this [failure] do that.

Or u can attach a note on one message and explain incase of failure the message needs to display an error.

You can choose which ever seems best.
With this assignment that is the good thing that if u explain the logical steps it is acceptable.

HTH
Dhiren
 
Ganesh Krishnan
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Dhiren
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!