cancel
Showing results for 
Search instead for 
Did you mean: 

Callactivity with open task not ending?

emptyres
Champ in-the-making
Champ in-the-making
Hiya - this process, when used as a process definition from a "callactivity" node, never returns.

I would expect if you do not execute the cancelOrder it should execute either of the two branches on the left, reach the end node, and return control to the superprocess.

Instead:
    - the superprcess never resumes control.
    - Dumping the process history shows the "callactivity" node as not finished
    - the cancelOrder task is marked as not completed
I tried adding exclusive gateways before the end, but to no avail.

[img]http://img827.imageshack.us/img827/2176/pidx1.png[/img]

Uploaded with ImageShack.us

I will try to provide a unit test, but if you have any ideas of what may be wrong in the meantime, I'd be very grateful, as it will require some time for me to unroot the subprocess from the superprocess.
2 REPLIES 2

emptyres
Champ in-the-making
Champ in-the-making
I suppose it's because of the lack of a terminate end event?

http://forums.activiti.org/en/viewtopic.php?f=6&t=1692&p=9144&hilit=terminate#p9144

any workarounds or alternative patterns we can use?

trademak
Star Contributor
Star Contributor
Hi,

Now the terminate end event should not be necessary. If this process reaches the end event or the error end event it should complete the process and therefore the call activity should be completed.
If you upload the process project with a unit test I will take a look at it.

Best regards,