Interface WorkflowTaskMetadataResponse


public interface WorkflowTaskMetadataResponse
Response containing the prompt metadata for a workflow task.
  • Method Details

    • isMultiItemVerdict

      boolean isMultiItemVerdict()
      Determines whether the task requires a verdict for each item in the workflow (multi-value) or a single verdict for the entire task and all items (single-value).
      Returns:
      true if the task requires a verdict for each item in the workflow
    • isCompleteTaskWithoutViewingItem

      boolean isCompleteTaskWithoutViewingItem()
      Determines whether the task can be completed without viewing the item.
      Returns:
      true if the task has "Complete task without viewing item" enabled.
    • getPrompts

      Retrieves the list of task prompts required to complete the task.
      Returns:
      the list of task prompts
    • getVerdictPrompt

      Retrieves the verdict prompt required to complete the task.
      Returns:
      the verdict prompt
    • getInstructions

      String getInstructions()
      Retrieves the task-level instructions defined in the task configuration.
      Returns:
      the task-level instructions defined in the task configuration
    • getGroupInstructions

      String getGroupInstructions()
      Retrieves the participant group instructions that were provided by the workflow initiator for the participant group that is assigned to the task.
      Returns:
      the participant group instructions that were provided by the workflow initiator for the participant group that is assigned to the task