Interface TaskDelegate
-
- All Superinterfaces:
Deferrable,ProcessInstanceAwareDelegate,org.camunda.bpm.engine.task.Task
- All Known Implementing Classes:
AbstractTaskDelegate,UserTaskExecutable
public interface TaskDelegate extends org.camunda.bpm.engine.task.Task, ProcessInstanceAwareDelegate, Deferrable
- Author:
- Martin Schimak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcomplete()Complete this user task.voidcomplete(Map<String,Object> variables)Complete this user task and deliver a map of additional information created by the human user (e.g.voidhandleBpmnError(String errorCode)Handle a BPMN Error occurring with or raised by the human user.voidhandleBpmnError(String errorCode, Map<String,Object> variables)Handle a BPMN Error occurring with or raised by the human user 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.scenario.delegate.ProcessInstanceAwareDelegate
getProcessInstance
-
Methods inherited from interface org.camunda.bpm.engine.task.Task
delegate, getAssignee, getCaseDefinitionId, getCaseExecutionId, getCaseInstanceId, getCreateTime, getDelegationState, getDescription, getDueDate, getExecutionId, getFollowUpDate, getFormKey, getId, getName, getOwner, getParentTaskId, getPriority, getProcessDefinitionId, getProcessInstanceId, getTaskDefinitionKey, getTenantId, isSuspended, setAssignee, setCaseInstanceId, setDelegationState, setDescription, setDueDate, setFollowUpDate, setName, setOwner, setParentTaskId, setPriority, setTenantId
-
-
-
-
Method Detail
-
complete
void complete()
Complete this user task.
-
complete
void complete(Map<String,Object> variables)
Complete this user task and deliver a map of additional information created by the human user (e.g. by filling out a form) and to be stored as process instance variables.
-
handleBpmnError
void handleBpmnError(String errorCode)
Handle a BPMN Error occurring with or raised by the human user.- Parameters:
errorCode- of the BPMN error raised.- Since:
- Camunda BPM 7.12.0
-
handleBpmnError
void handleBpmnError(String errorCode, Map<String,Object> variables)
Handle a BPMN Error occurring with or raised by the human user and deliver a map of additional information to be stored as process instance variables.- Parameters:
errorCode- of the BPMN error raised.- Since:
- Camunda BPM 7.12.0
-
-