I'm having some trouble understanding use case extension point and alternative flow. I have been reading many different sources and I think I got more confused. From my understanding AF is variation or exception to the basic flow. EP is the branching of a use case...
Can someone please define these two concepts and provide some examples?
Thank you!!
If I understand your question correctly, the difference is fairly straight forward.
Here it is:
Also, note that an alternate flow in one use case could also contain an extension point which references another extending use case.
Hope this helps!
Adrian
I have a simpler definition than Adrian's. More a rule of thumb. An extension point is extra functionality; alternates are a different way of doing the main thing. Also the extra functionality usually only happens occasionally.
Kimbo
Thank you Kimbo and Adrian!
@ Kimbo
when you mention different ways of doing the same thing..what does that "difference" means? I originally thought an AF is another set of steps that will get you to the successful post-condition ( ex. you can get coffee from the drive thru or walk in to the actual store and buy the coffee) either way you get the coffee. But I think my interpretation is wrong and that's where my confusion started.
Let's take submitting this message that I'm writing as an example...
Usecase name: submit message
step 1. type message
2. click submit
Can choosing the text box option, checking spelling and other formatting tools be considered as an AF? And can preview and cancel be extension points?
Thank you again!
The example you gave isn't what I call a use case because its solution. But putting that aside, here's an example of what I mean off the top of my head... (pause as I think of an example) ...
Go to the movies
main course
1. lookup what's on
2. drive to cinema
3. buy ticket
4. watch movie
5. drive home
alternate
after step 1
1. phone box office and book ticket
2 drive to cinema
3. resume main course at step 4.
Extension
after step 4 of main course
1. drive to restaurant
2. eat meal
3. drive home
Kinda simplistic but I hope it helps.
brought to you by enabling practitioners & organizations to achieve their goals using: