Interface WorkflowTaskCompleteOperation<T>


public interface WorkflowTaskCompleteOperation<T>
Operation wrapper for executing task completion requests.
  • Method Details

    • onSuccess

      WorkflowTaskCompleteOperation<T> onSuccess(Consumer<T> handler)
      Sets the function called when the complete workflow task action succeeds.
      Parameters:
      handler - the consumer to call on success
      Returns:
      this operation
    • onTaskItemVerdictInputError

      Sets the function called when the complete workflow task action has errors due to multi-value verdict input using withTaskItemVerdictInput(List itemVerdictInputs).
      Parameters:
      handler - the consumer to call on failure
      Returns:
      this operation
    • onError

      Sets the function called when the complete workflow task action has errors due to task-level errors.
      Parameters:
      handler - the consumer to call on failure
      Returns:
      this operation
    • execute

      void execute()
      Executes the task completion operation that submits the workflow task.