Async service task recovery

Showing results for 
Search instead for 
Did you mean: 
Member II

Async service task recovery

We are using activiti 6.0, and have implemented asynchronous custom service tasks using AbstractBpmnActivityBehavior.

During the process recovery we have been able to use RuntimeService.trigger(String executionId) to continue the execution.

What we would like to do in some cases is to call execute(DelegateExecution execution) method if the service task did not finish executing. Is the RuntimeService.trigger(String executionId) the only way to go or is there a better way?


1 Reply
Senior Member II

Re: Async service task recovery


For trigger-able activities, as far as I know trigger() is the best way to send a completion signal.