Notify Parent Instance from Call Activity


#1

Hi,

I want to model a process instance which creates several call activities. It can happen, that in one of these call activities it is decided that the parent process instance and all of it’s call activities have to be ended.

As I understand, it is sufficient, to bring the parent process instance to an end and all call activities are ended as well.

So my question:
Is there a way to notify (e.g. with a message) the parent process instance from within a call activity in some way?

I can think of a construct like this …
Parent process:

The call activity process has a message end event to trigger the message boundary event in the parent process instance:


#2

Your best bet is to use an Escalation event.


#3

Thanks a lot! This is exactly what I need. Never used escalation before …

After some tests I came up with this solution:

Call activity process:

The final trick was to wrap the whole thing in a subprocess where the escalation boundary event can be caught.


#4

Looks good - you could also use it combination with an Event Subprocess if you don’t want to wrap the whole thing up in an embedded subprocess.


#5

Thanks for the additional advice.

But I’m not quite sure how this would meet my requirements to end the parent instance and the call activities if the escalation event is thrown.

Maybe I don’t see the solution right now, but could you maybe give an example how my solution would work without the subprocess?

Cheers
Chris