Book a Demo

Author Topic: How to model "OR" in activity diagram  (Read 11509 times)

RainerQ

  • EA User
  • **
  • Posts: 122
  • Karma: +1/-0
    • View Profile
How to model "OR" in activity diagram
« on: March 02, 2010, 09:19:53 pm »
What would be the correct way to model
-- ServiceBase.Run(new MyService()); --
in a UML2.1 activity diagram:

First "action" would be to instantiate "MyService" but what then? There is a variaty of possible flows to reach the activity final:
- Service.OnStart , Service.OnStop
- Service.OnStart, Service.OnShutdown
- Service OnStop
- Serivice OnSutdown
- ......

I think the "receive signal" with follow up actions are part of the solution, but how to I model the "OR" possibilities form the "intatniate" action on?

Thanks for hints and help.

Regards
Rainer


« Last Edit: March 02, 2010, 09:20:18 pm by RQ »

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: How to model "OR" in activity diagram
« Reply #1 on: March 13, 2010, 12:03:48 am »
How about a decision with three outgoing flows?
Models are great!
Correct models are even greater!