Class ExternalTaskClientHandler<T extends ExternalTaskHandler<?>>

java.lang.Object
org.camunda.community.bpmndt.api.ExternalTaskHandler<ExternalTaskClientHandler<?>>
org.camunda.community.bpmndt.api.ExternalTaskClientHandler<T>
Type Parameters:
T - The handler implementation.

public class ExternalTaskClientHandler<T extends ExternalTaskHandler<?>> extends ExternalTaskHandler<ExternalTaskClientHandler<?>>
Fluent API to handle external tasks, implemented through an external task client.
  • Constructor Details

    • ExternalTaskClientHandler

      public ExternalTaskClientHandler(org.camunda.bpm.engine.ProcessEngine processEngine, String activityId, String topicName)
  • Method Details

    • executeExternalTask

      public void executeExternalTask(BiConsumer<org.camunda.bpm.client.task.ExternalTask,org.camunda.bpm.client.task.ExternalTaskService> action)
      Executes a custom action that handles the external task, which has been queried (by process instance ID, activity ID and topic name) and locked before, when the process instance is waiting at the corresponding activity.
      Please note: This method must be used when the external task has been implemented using an external task client.
      Parameters:
      action - A specific action that accepts ExternalTask and ExternalTaskService.