public static interface WorkflowRemoveItemsRequest.Builder
WorkflowRemoveItemsRequest
.Modifier and Type | Method and Description |
---|---|
WorkflowRemoveItemsRequest |
build()
Validates and retrieves a completed
WorkflowRemoveItemsRequest . |
WorkflowRemoveItemsRequest.Builder |
withDocumentIds(List<String> documentIds)
Optional: sets the list of document IDs to remove from the active workflow.
|
WorkflowRemoveItemsRequest.Builder |
withRecords(String objectName,
List<String> recordIds)
Optional: sets the list of record IDs to remove from the active workflow.
|
WorkflowRemoveItemsRequest.Builder |
withWorkflowId(String workflowId)
Required: sets the active workflow ID.
|
WorkflowRemoveItemsRequest.Builder withWorkflowId(String workflowId)
workflowId
- to apply the remove items actionWorkflowRemoveItemsRequest.Builder
WorkflowRemoveItemsRequest.Builder withDocumentIds(List<String> documentIds)
documentIds
- list of document IDs being removed from the active workflowWorkflowRemoveItemsRequest.Builder
WorkflowRemoveItemsRequest.Builder withRecords(String objectName, List<String> recordIds)
objectName
- object name of the records being removed from the active workflow.recordIds
- list of record IDs being removed from the active workflowWorkflowRemoveItemsRequest.Builder
WorkflowRemoveItemsRequest build()
WorkflowRemoveItemsRequest
.
Workflow ID is set and only one list of document or records IDs are set.WorkflowRemoveItemsRequest
Copyright © Veeva Systems 2017–2023. All rights reserved.