public static interface WorkflowStartMetadataRequest.Builder
WorkflowStartMetadataRequest.| Modifier and Type | Method and Description |
|---|---|
WorkflowStartMetadataRequest |
build()
Validates and retrieves a completed
WorkflowStartMetadataRequest. |
WorkflowStartMetadataRequest.Builder |
withDocuments(List<String> documents)
Optional: sets the list of documents to search for the specified workflow.
|
WorkflowStartMetadataRequest.Builder |
withRecords(String objectName,
List<String> recordIds)
Optional: sets the list of record IDs to search for the specified workflow.
|
WorkflowStartMetadataRequest.Builder |
withWorkflowName(String workflowName)
Required: adds the specified workflow name to search with.
|
WorkflowStartMetadataRequest.Builder withWorkflowName(String workflowName)
workflowName - workflow name to search with. For example, review_workflow__c.WorkflowStartMetadataRequest.BuilderWorkflowStartMetadataRequest.Builder withDocuments(List<String> documents)
documents - list of documents to search against. Cannot
be null or empty. For example, 100,101_0_1.WorkflowStartMetadataRequest.BuilderWorkflowStartMetadataRequest.Builder withRecords(String objectName, List<String> recordIds)
objectName - object name string to search against. Cannot
be null or empty. For example, checklist__c.recordIds - record ID string to search against. Cannot
be null or empty. For example, V100,V200.WorkflowStartMetadataRequest.BuilderWorkflowStartMetadataRequest build()
WorkflowStartMetadataRequest.
Workflow name is set and either documents or records are added.WorkflowStartMetadataRequestCopyright © Veeva Systems 2017–2023. All rights reserved.