Package com.veeva.vault.sdk.api.workflow
Interface WorkflowTaskSetItemVerdictRequest.Builder
- Enclosing interface:
- WorkflowTaskSetItemVerdictRequest
public static interface WorkflowTaskSetItemVerdictRequest.Builder
Builder to create a
WorkflowTaskSetItemVerdictRequest.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theWorkflowTaskSetItemVerdictRequest.withTaskId(String taskId) Required: Sets the ID of the task.withTaskItemVerdictInput(List<WorkflowTaskItemVerdictInput> itemVerdictInputs) Optional: Sets verdict and child inputs for individual records or documents in the task.
-
Method Details
-
withTaskId
Required: Sets the ID of the task.- Parameters:
taskId- Specifies the ID of the workflow task instance- Returns:
- this builder
-
withTaskItemVerdictInput
WorkflowTaskSetItemVerdictRequest.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
Builds theWorkflowTaskSetItemVerdictRequest.- Returns:
- this built
WorkflowTaskSetItemVerdictRequest
-