Class AsyncCompleteCallActivityJobHandler

java.lang.Object
org.flowable.engine.impl.jobexecutor.AsyncCompleteCallActivityJobHandler
All Implemented Interfaces:
JobHandler

public class AsyncCompleteCallActivityJobHandler extends Object implements JobHandler
A JobHandler implementation that asynchronously will end an execution asynchronously. Primary use case is handling a parallel multi-instance call activity where the child process has an async step just before reaching the end event. The async locking happens on the level of the child process instance, but the end event will execute the completing/completed callbacks of the call activity, which are done in scope of the parent process instance and can lead to optimistic locking exceptions. By scheduling the job in context of the parent process instance, the correct lock will be used.
Author:
Joram Barrez