Package com.veeva.vault.sdk.api.workflow
Interface WorkflowTaskMetadataResponse
public interface WorkflowTaskMetadataResponse
Response containing the prompt metadata for a workflow task.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the participant group instructions that were provided by the workflow initiator for the participant group that is assigned to the task.Retrieves the task-level instructions defined in the task configuration.Retrieves the list of task prompts required to complete the task.Retrieves the verdict prompt required to complete the task.booleanDetermines whether the task can be completed without viewing the item.booleanDetermines 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).
-
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
List<WorkflowTaskPromptMetadata> getPrompts()Retrieves the list of task prompts required to complete the task.- Returns:
- the list of task prompts
-
getVerdictPrompt
WorkflowTaskVerdictPromptMetadata 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
-