Interface ExternalTaskDelegate
-
- All Superinterfaces:
Deferrable,org.camunda.bpm.engine.externaltask.ExternalTask,ProcessInstanceAwareDelegate
- All Known Implementing Classes:
AbstractExternalTaskDelegate,BusinessRuleTaskExecutable,MessageEndEventExecutable,MessageIntermediateThrowEventExecutable,SendTaskExecutable,ServiceTaskExecutable
public interface ExternalTaskDelegate extends org.camunda.bpm.engine.externaltask.ExternalTask, ProcessInstanceAwareDelegate, Deferrable
- Author:
- Martin Schimak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcomplete()Complete this external task.voidcomplete(Map<String,Object> variables)Complete this external task and deliver a map of additional information created by the external worker and to be stored as process instance variables.voidhandleBpmnError(String errorCode)Handle a BPMN Error raised by the external worker.voidhandleBpmnError(String errorCode, Map<String,Object> variables)Handle a BPMN Error occurring with or raised by the external worker and deliver a map of additional information to be stored as process instance variables.-
Methods inherited from interface org.camunda.bpm.scenario.defer.Deferrable
defer
-
Methods inherited from interface org.camunda.bpm.engine.externaltask.ExternalTask
getActivityId, getActivityInstanceId, getBusinessKey, getErrorMessage, getExecutionId, getExtensionProperties, getId, getLockExpirationTime, getPriority, getProcessDefinitionId, getProcessDefinitionKey, getProcessDefinitionVersionTag, getProcessInstanceId, getRetries, getTenantId, getTopicName, getWorkerId, isSuspended
-
Methods inherited from interface org.camunda.bpm.scenario.delegate.ProcessInstanceAwareDelegate
getProcessInstance
-
-
-
-
Method Detail
-
complete
void complete()
Complete this external task.- Since:
- Camunda BPM 7.4.0
-
complete
void complete(Map<String,Object> variables)
Complete this external task and deliver a map of additional information created by the external worker and to be stored as process instance variables.- Since:
- Camunda BPM 7.4.0
-
handleBpmnError
void handleBpmnError(String errorCode)
Handle a BPMN Error raised by the external worker.- Parameters:
errorCode- of the BPMN error raised.- Since:
- Camunda BPM 7.5.0
-
handleBpmnError
void handleBpmnError(String errorCode, Map<String,Object> variables)
Handle a BPMN Error occurring with or raised by the external worker and deliver a map of additional information to be stored as process instance variables.- Parameters:
errorCode- of the BPMN error raised.variables- the process variables to be stored- Since:
- Camunda BPM 7.10.0
-
-