Author Topic: Activity Diagram  Delay  (Read 435 times)

GuyM

  • EA User
  • **
  • Posts: 71
  • Karma: +0/-0
  • UML Newbie :0)
    • View Profile
Activity Diagram  Delay
« on: May 21, 2008, 04:22:59 pm »
When a process has a point at which it must wait for a new trigger to continue (ie wait for van to arrive) how is that done in EA?
I am currently using a FINAL (Van needed) and then an INITIAL (Van Arrives) but is there some DELAY / HANDOFF element to join them?

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Activity Diagram  Delay
« Reply #1 on: May 22, 2008, 01:48:47 am »
I handle this in UML by use of Control Flows, which are different from Data Flows.  Even though an activity has received all the data flows it needs for execution, tokens from all the control flows must also be received before the activity is initiated.  

The EA toolbox has icons for both of these flow types.
Verbal Use Cases aren't worth the paper they are written upon.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2441
  • Karma: +29/-2
    • View Profile
Re: Activity Diagram  Delay
« Reply #2 on: May 23, 2008, 09:31:06 am »
Another idea is to put a Join in your flow and have the trigger also flow into the Join.
The Sparx Team
support@sparxsystems.com

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Activity Diagram  Delay
« Reply #3 on: May 23, 2008, 09:51:01 am »
And then, one might resort to a Statemachine diagram.
Verbal Use Cases aren't worth the paper they are written upon.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2441
  • Karma: +29/-2
    • View Profile
Re: Activity Diagram  Delay
« Reply #4 on: May 23, 2008, 10:40:26 am »
I've just thought of two other ways to show it:

1. It sounds like you are documenting a business process, so use BPMN which has explicit OR, XOR and AND gateways (diamonds with an 'O', 'X' or '+' symbol inside). This case would be an AND gateway.

2. Add a note to the diagram which states it explicitly in words.

So there's five suggestions: choose whichever one your diagram's audience is most likely to understand (and if you don't know, ask them!)

Hope that helps
The Sparx Team
support@sparxsystems.com

GuyM

  • EA User
  • **
  • Posts: 71
  • Karma: +0/-0
  • UML Newbie :0)
    • View Profile
Re: Activity Diagram  Delay
« Reply #5 on: May 23, 2008, 04:31:56 pm »
All good stuff. thanks very much
Guy