Interface WorkflowTaskCompleteRequest.Builder

Enclosing interface:
WorkflowTaskCompleteRequest

public static interface WorkflowTaskCompleteRequest.Builder
Builder to create a WorkflowTaskCompleteRequest.
  • Method Details

    • withTaskId

      Required: Sets the ID of the task to be completed.
      Parameters:
      taskId - ID of the workflow task instance
      Returns:
      this builder
    • withTaskInput

      Optional: Sets the task-level input that applies to all items in the workflow such as task-level comment, field prompt values that apply to all items in the workflow, participants, or a single-value verdict that applies to all items.
      Parameters:
      input - the WorkflowTaskInput
      Returns:
      this builder
    • withTaskItemVerdictInput

      WorkflowTaskCompleteRequest.Builder withTaskItemVerdictInput(List<WorkflowTaskItemVerdictInput> itemVerdictInputs)
      Optional: Sets verdict and child inputs for individual records or documents in the task.
      Parameters:
      itemVerdictInputs - list of WorkflowTaskItemVerdictInput request builder objects containing the complete verdict input for each item (record or document)
      Returns:
      this builder
    • build

      Returns:
      this built request