Class UserTaskExecutable

    • Constructor Detail

      • UserTaskExecutable

        public UserTaskExecutable​(ProcessRunnerImpl runner,
                                  org.camunda.bpm.engine.history.HistoricActivityInstance instance)
    • Method Detail

      • getDelegate

        protected org.camunda.bpm.engine.task.Task getDelegate()
        Specified by:
        getDelegate in class AbstractExecutable<org.camunda.bpm.engine.task.Task>
      • complete

        public void complete()
        Description copied from interface: TaskDelegate
        Complete this user task.
      • complete

        public void complete​(Map<String,​Object> variables)
        Description copied from interface: TaskDelegate
        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

        public void handleBpmnError​(String errorCode)
        Description copied from interface: TaskDelegate
        Handle a BPMN Error occurring with or raised by the human user.
        Parameters:
        errorCode - of the BPMN error raised.
      • handleBpmnError

        public void handleBpmnError​(String errorCode,
                                    Map<String,​Object> variables)
        Description copied from interface: TaskDelegate
        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.