Module io.automatiko.engine.api
Interface WorkItemExecutionManager
public interface WorkItemExecutionManager
-
Method Summary
-
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 itemname- name of the output item that will be returned on completionworkItem- work item associated with executionmanager- manager that can be used for synchronous completion handlingsource- value returned by the service invocationerrorMapper- maper of error that might happen during execution
-