Class ServiceTaskExecutable

    • Constructor Detail

      • ServiceTaskExecutable

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

      • getDelegate

        protected org.camunda.bpm.engine.externaltask.ExternalTask getDelegate()
        Specified by:
        getDelegate in class AbstractExecutable<org.camunda.bpm.engine.externaltask.ExternalTask>
      • fetchAndLock

        protected void fetchAndLock()
      • complete

        public void complete()
        Description copied from interface: ExternalTaskDelegate
        Complete this external task.
      • complete

        public void complete​(Map<String,​Object> variables)
        Description copied from interface: ExternalTaskDelegate
        Complete this external task and deliver a map of additional information created by the external worker and to be stored as process instance variables.
      • handleBpmnError

        public void handleBpmnError​(String errorCode)
        Description copied from interface: ExternalTaskDelegate
        Handle a BPMN Error raised by the external worker.
        Parameters:
        errorCode - of the BPMN error raised.
      • handleBpmnError

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

        public String getProcessDefinitionVersionTag()
      • getBusinessKey

        public String getBusinessKey()