Author Topic: "Start other process" in activity diagram  (Read 1027 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1073
  • Karma: +81/-5
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
"Start other process" in activity diagram
« on: May 15, 2017, 06:00:32 pm »
Hi all,


I've got a client who's doing a bit of business process modelling using a custom method and notation. At the finest level of detail, there are activity diagrams.

From one of these activity diagrams, a modeller wishes to show that another process is triggered, essentially to deal with an error condition, interrupting the normal flow. This is not covered by the metamodel which in effect says that processes can't trigger one another but only follow one another, but it makes sense and the same need will most likely arise in other processes so an extension or relaxation of the metamodel seems to be in order.

In order to meet this need, I'm thinking an Exception activity with a child Send event, shown inside the Exception in the diagram.
The Send event will have a classifier, which will also be the classifier of a Receive event in the process which is triggered.
This decouples the triggering and triggered processes, and avoids having to place a process (higher-level concept) in an activity diagram.

My question is: does this sound like a good solution?
Especially given how inert Exceptions are in EA?

Any input appreciated. (Going to BPMN is not an option.)

Thanks,


/Uffe
My theories are always correct, just apply them to the right reality.

qwerty

  • EA Guru
  • *****
  • Posts: 8972
  • Karma: +136/-124
  • I'm no guru at all
    • View Profile
Re: "Start other process" in activity diagram
« Reply #1 on: May 15, 2017, 06:53:58 pm »
If you are responsible for the modeling process you are free to define whatever is needed. In the past I just borrowed parts from BPMN without adopting the full method. That worked quite well. However, exceptions are already covered by "normal" UML by means of Interruptible Regions and Exception Flows.

q.

PeterHeintz

  • EA User
  • **
  • Posts: 549
  • Karma: +37/-14
    • View Profile
Re: "Start other process" in activity diagram
« Reply #2 on: May 15, 2017, 07:21:31 pm »
Hi Uffe,
yes UML already has exception handling.

If you need an exception that might happen somewhere in your running activity that stops that activity an calls another you can use an interruptible region. Insert a “receive action” that catches the exception in that region and connect it via interrupt flow to a send action  and catch the send action signal in you second activity via a receive action.
Best regards,

Peter Heintz

Simon M

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 6200
  • Karma: +47/-5
    • View Profile
Re: "Start other process" in activity diagram
« Reply #3 on: May 16, 2017, 08:23:52 am »
UML also includes supports for calling another activity. It's called a CallActivityAction. Just nest all of your activities that you could ever want to call inside an Activity element. Ctrl+Drag of an Activity onto an Activity diagram will allow you to create an action that calls the activity. (You can also do it by dropping an action and then selecting the type and an activity)
Simon

support@sparxsystems.com