cancel
Showing results for 
Search instead for 
Did you mean: 

ProcessInstance & ReceiveTask

chentaoactiviti
Champ in-the-making
Champ in-the-making
I use ParallelGateWay to implement two ways to the end .
But when one of them arrived the end event, the task on the other side still can be executed by user or group.only when I deleted the processInstance , they would be deleted.  So why ? Doesn't Activiti5.3 support the asynchronism?
4 REPLIES 4

hrabe
Champ in-the-making
Champ in-the-making
A ProcessInstance only ends if all executions paths ends.

chentaoactiviti
Champ in-the-making
Champ in-the-making
thanks for quickly reply.

you mean ,the gateway doesn't work? But when I used the jBPM5 ,it works.

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
jbpm5 != activiti 🙂

Best is to check the specs then to see what the official behaviour should be.

matthiasn
Champ in-the-making
Champ in-the-making
Hi there,

would there be any other way to achieve this in activiti? I would like to have a separate fork, such as in the parallel gateway, that allows me to end the instance through a receiveTask. Or is there another way to terminate the instance from the outside when I need some cleanup done before the endtask through a spring based service task? Instances should either end through a timer-based boundary event in one fork or a receiveEvent in the other fork in my scenario. Even better would be to be able to define a global receiveTask as a boundary event.

Thanks,
Matthias