Interface WorkItemExecutionManager


public interface WorkItemExecutionManager
  • Method Details

    • complete

      void complete(String processId, String name, WorkItem workItem, WorkItemManager manager, Object source, Function<Throwable,Throwable> errorMapper)
      Invoked on completion of the service associated with work item
      Parameters:
      processId - id of the process associated with the work item
      name - name of the output item that will be returned on completion
      workItem - work item associated with execution
      manager - manager that can be used for synchronous completion handling
      source - value returned by the service invocation
      errorMapper - maper of error that might happen during execution