This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to show execute another use case from specified step?  RSS feed

 
Larr Goneg
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, folks!
suppose in a use case we have to redirect to another use case, not from the beginning, but from some step later, how to show it in sequence diagram?
this is not include, I think.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the extend relationship. Extends means that under certain circumstance a use case uses another use case.
 
Larr Goneg
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply!
my question is, under some condition, one use case will execute only part of the other use case.
for example, there are two use case,
A:1.do a1
2.do a2
3.go to use case B step 2
B:1.do b1
2.do b2
3.do b3
how should I show it in my sequence diagram?
Mayby from use case good practice point of view, we should modify our use case so that such situation not happen.
Thanks!
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would suggest you break down your sequence diagram.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!