Interface TaskDelegate

    • Field Summary

      • Fields inherited from interface org.camunda.bpm.engine.task.Task

        PRIORITY_MAXIMUM, PRIORITY_MINIUM, PRIORITY_NORMAL
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void complete()
      Complete this user task.
      void complete​(Map<String,​Object> variables)
      Complete this user task and deliver a map of additional information created by the human user (e.g.
      void handleBpmnError​(String errorCode)
      Handle a BPMN Error occurring with or raised by the human user.
      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.
      • Methods inherited from interface org.camunda.bpm.scenario.defer.Deferrable

        defer
      • 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