Package com.veeva.vault.sdk.api.workflow
Interface WorkflowMetadataService
- All Superinterfaces:
Service
Provides methods to interact with workflow metadata.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves a list of available workflows for the given documents or record IDs.Retrieves the workflow start metadata on the given workflow name and list of documents or record IDs.Creates aWorkflowStartMetadataRequest.Builder.
-
Method Details
-
newAvailableWorkflowMetadataCollectionRequestBuilder
AvailableWorkflowMetadataCollectionRequest.Builder newAvailableWorkflowMetadataCollectionRequestBuilder() -
getAvailableWorkflows
AvailableWorkflowMetadataCollectionResponse getAvailableWorkflows(AvailableWorkflowMetadataCollectionRequest request) Retrieves a list of available workflows for the given documents or record IDs.- Parameters:
request- theAvailableWorkflowMetadataCollectionRequestcontaining the information needed to retrieve the list of available workflows. Cannot be null.- Returns:
- an
AvailableWorkflowMetadataCollectionResponsecontaining the list of available workflows
-
newWorkflowStartMetadataRequestBuilder
WorkflowStartMetadataRequest.Builder newWorkflowStartMetadataRequestBuilder()Creates aWorkflowStartMetadataRequest.Builder.- Returns:
- a
WorkflowStartMetadataRequest.Builder
-
getWorkflowStartMetadata
Retrieves the workflow start metadata on the given workflow name and list of documents or record IDs.- Parameters:
request- theWorkflowStartMetadataRequestcontaining the information needed to retrieve the workflow start details. Requires the workflow name and list of document or record IDs. Cannot be null.- Returns:
- a
WorkflowStartMetadataResponsecontaining workflow start details
-