Thursday, December 03, 2009

Use Cases, Explaining Main Success, Alternate and Exception Scenarios

Once you understand the difference between a main success scenario, an alternate scenario and an exception scenario, you may wonder why it took you so long to get there. The reason probably being that the explanation was pretty abstract, talking about scenario's that do or don't have the same goal, post-conditions that add to or are instead of those of the main success scenario, blah, blah, blah...

Having gone this road myself, I started to wonder if there is a simpler way to explains what should be pretty natural for most of us. And as always, finding an example that relates to day-to-day life did the trick for me to explain it to others. The example being the following.

Suppose that have to drive from A to B. Your goal being to be in time for a customer meeting. The post-condition being that you successfully reached your destination in time.

So the main success scenario is that you drive from A to B, without interruptions.

An alternate scenario would be that you have to take a small detour by going through a gas station to get some gas. An extra post-condition this detour might add to the one of the main success scenario, could be that you have to obtain the gas bill, otherwise you employer won't cover your expenses.

An exception scenario might be that your car breaks down, and you will never be in time for the customer meeting. A post-condition of this exception scenario might be that you have to inform you customer that you have to cancel the meeting. This post-condition replaces the post-condition of the main success scenario.


Other exception scenario's might concerning a serious traffic jam, getting busted for speeding, car-jacking, and so on.

Now that was not too difficult, was it?

10 comments:

John said...

What a nice illustration, of two things:

- the difference between alternate and exception scenarios

- the importance of recognising the value of even simple ideas, and spreading them around!

army ration said...

I must say that your language of explaining things are so easy to understand and also you make it more easier to understand by giving real time examples. I wish you are our database professor.

Jan Kettenis said...

Army, you make me laugh. Thank you for that :-)

Sapna said...

That's a simple way of putting it. However, complexity is when you try to define it, especially in case of exception scenarios. Any inputs would be helpful

curtisculbert said...

The use cases in this report are generated using a target Structuring methodology presented by Alistair Cockburn of people and technology. To explore the goal of every Actor's system meets the functional requirements of yields.
Bangkok Flight

اليوتيوب said...

this was very informative thanks

sap support pack said...

You have explained an important topic in very simple words. This describes main success scenarios. This is explained in terms of alternate and exception scenario. I really like the way you put these terms together.

فيديوهات said...

this was very informative

Anonymous said...

good
Obat untuk penyakit Kondiloma Akuminata
Obat Kondiloma Akuminata
pengobatan Kondiloma Akuminata
Pengobatan untuk Kondiloma Akuminata
makalah untuk kondiloma akuminata
makalah kondiloma
makalah untuk kondiloma
makalah penyakit kondiloma akuminata
cara mengobati kutil yang ada di kemaluan pria
mengobati kutil di kemaluan pria
cara mengobati kutil di kemaluan
cara mengobati penyakit kutil di kemaluan pria
Cara Mengobati Kutil di Kemaluan Pria
Makalah Cara Mengobati penyakit Kutil di Kemaluan Pria
Makalah Cara Mengobati Kutil di Kemaluan
Makalah Cara Mengobati sakit Kutil di Kemaluan Pria
Cara Herbal Mengobati Kutil di Kemaluan
Cara Mengobati Kutil di Kemaluan Pria
Mengobati Kutil di Kemaluan Pria
Cara ampuh Herbal Mengobati Kutil di Kemaluan Pria
Cara Mengobati Kutil Kondiloma
Mengobati Kutil Kondiloma di Kemaluan Pria
Mengobati Kutil Kondiloma di Kemaluan
Cara Mengobati sakit Kutil Kondiloma di Kemaluan Pria
mengobati kutil dengan denature
cara mengobati kutil denature
cara membasmi kutil dengan denature
cara mengobati penyakit kutil dengan denature
Cara Mengobati Kutil dengan Denature
Cara Mengobati Kutil dengan Obat dari Denature
Mengobati Kutil dengan Obat Denature
Cara Mengobati penyakit Kutil dengan Obat Denature
Cara Ampuh Mengobati Kutil dengan Produk Denature
Cara Alami Mengobati Kutil dengan Produk Denature
Mengobati Kutil dengan Produk Denature
Cara mujarab Mengobati Kutil dengan Produk Denature

HOT said...

good post
Dari Kemaluan Pria Keluar Banyak Nanah
Mengobati Dari Kemaluan Pria Keluar Banyak Nanah
Solusi Dari Kemaluan Pria Keluar Banyak Nanah
Obat Dari Kemaluan Pria Keluar Banyak Nanah
Dari Penis Kemaluan Pria Keluar Banyak Nanah