AnsweredAssumed Answered

CallActivity vs. SubProcess

Question asked by dguggi on Aug 1, 2012
Latest reply on Oct 16, 2013 by davidnguyen
hello,

I have a process with an (embedded) SubProcess like this:

[attachment=2]SubProcessTest.png[/attachment]

If the parent process reaches the compensation-throw-event, the cancelSomething (compensation) service-task (of the sub-process) is executed as expected.

However, when I try to achieve the same with a CallActivity like this

parent-prozess:
[attachment=1]CallActivityWithCompensatingSubProcessTest.png[/attachment]
sub-process:
[attachment=0]SimpleProcessWithServiceTaskAndCompensation.png[/attachment]

in this case the "cancelSomething" (compensation) service-task is never called.

So, is this the expected behaviour? Or is there any alternative to achieve the desired functionality with CallActivities?

ty,
daniel

Outcomes