Book a Demo

Author Topic: generation activity diagrams from usecase scenario  (Read 7246 times)

Edward G

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
generation activity diagrams from usecase scenario
« on: April 14, 2014, 07:25:42 pm »
Hi

if you select to create an activity diagram from use case scenario the EA adds activity with the same name as use case has and then withih the activity creates activity diagram. I can't understand why the EA creates the activity, where i can get any explanation of the behavior?

Thank you
Edward

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: generation activity diagrams from usecase scen
« Reply #1 on: April 14, 2014, 07:45:16 pm »
It's a template and you have to fill in whatever makes sense.

q.

Edward G

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: generation activity diagrams from usecase scen
« Reply #2 on: April 14, 2014, 08:58:37 pm »
Hi qwerty

What have I to fill?

I understand when I write steps of scenario.  Then I can create activity (and other available) diagram. Why I have to made it through activity elements. Is it constraint of EA. Is it special practice? Where I can recognate with it?

Thanx
Edward

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: generation activity diagrams from usecase scen
« Reply #3 on: April 14, 2014, 09:34:31 pm »
I'd recommend the books from Cockburn or Bittner/et al. about UC modeling. ADs and scenarios are alternative ways to describe the same thing. From my practice I can tell that it is best to use either where appropriate an not both as it introduces redundancy. ADs are recommended where you have many alternatives. Textual is better/easier (to create and read) where you have a straight line of actions.

q.

jfzouain

  • EA User
  • **
  • Posts: 152
  • Karma: +6/-1
    • View Profile
Re: generation activity diagrams from usecase scen
« Reply #4 on: April 16, 2014, 01:00:31 am »
Hi

Also recommend the same book, but I disagree at not to use both only when needed. You are correct on on a small Use Case with only a Basic and Alternate path that text is better.
But my experience tells me that presenting an Activity Diagram right before the Use Case scenario, if is only one Alternate, the reader will undestand better the UC flow.
Remember this chinese proverb "A picture is worth a thousand words"

 :)
Best regards

Jose Zouain

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: generation activity diagrams from usecase scen
« Reply #5 on: April 16, 2014, 03:00:06 am »
I will not start arguing here ;) One should setup his mind on own experience. So think about both sides of the coin. Actually I prefer ADs (eventually extended with some BPMN) over textual description. Only in the simple cases I think that SDs are superfluous. YMMV.

q.

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: generation activity diagrams from usecase scen
« Reply #6 on: April 16, 2014, 05:25:11 am »
Hi,

in my personal view: If you use Activity diagrams to early you get sidetracked in to much details. You know every detail but you fail to see what's really important for success. You use developer glasses, not that of your stakeholders.

The most benefit of Use Cases is to see the mayor things that are important for your customers (not your developers).

Therefore the restrictions of Use Case force you to focus on the important things. More isn't really possible with Use Cases.

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

Edward G

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: generation activity diagrams from usecase scen
« Reply #7 on: April 16, 2014, 03:06:40 pm »
Hi all!

Thank you for your opinion but I don't ask it is better or is not to draw an activity diagram before text scenario or vs.

I ask! WHY when you create an activity diagram from use case scenario the EA adds ACTIVITY with the same name as use case has and then withih the activity creates activity diagram. WHY is not direct into activity diagram. And where we can get any explanation?

As for me I prefer text description instead of diagrams. But my friend - a RUP specialist -prefer to made model before text and obtain text from diagram following MDA.

That is an example for such approach: IBM Rational Harmony Deskbook Rel 4.1
Edward

Gary

  • EA User
  • **
  • Posts: 84
  • Karma: +1/-0
    • View Profile
Re: generation activity diagrams from usecase scen
« Reply #8 on: April 16, 2014, 08:44:05 pm »
You have an activity because an Activity diagram is used to illustrate an activity of interest. They describe "how" your activity of interest accomplishes the process set out in the activity name. It comprises of actions that are chained together to represent the process. Incidentally activity diagrams should not really contain activites, they contain actions. The activity is the thing being modelled by the actions. Which is why an activity diagram sits under an activity element.

Gary

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: generation activity diagrams from usecase scen
« Reply #9 on: April 16, 2014, 10:11:22 pm »
Well, see my first reply to your question. That IS the answer.

q.

Edward G

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: generation activity diagrams from usecase scen
« Reply #10 on: April 16, 2014, 10:59:36 pm »
Quote
It's a template and you have to fill in whatever makes sense.

q.
Quote
Well, see my first reply to your question. That IS the answer.
Well, English is not my native language so I couldn't assigned your answer to my question  :)
Edward

Edward G

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: generation activity diagrams from usecase scen
« Reply #11 on: April 16, 2014, 11:00:34 pm »
Quote
Which is why an activity diagram sits under an activity element.

Gary

Thanx. Gary. Logic is clear.
Edward

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: generation activity diagrams from usecase scen
« Reply #12 on: April 17, 2014, 12:24:26 am »
Quote
Well, English is not my native language so I couldn't assigned your answer to my question  :)
My bad. I tend to give more short answers than few longer ones (most of the time).

q.