Package com.veeva.vault.sdk.api.workflow
Interface WorkflowInstanceCollectionResponse
public interface WorkflowInstanceCollectionResponse
Holds a list of
WorkflowInstances.-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsWorkflowInstance(String workflowId) Given the workflow ID, checks to see if aWorkflowInstanceexists with the ID.getWorkflowInstance(String workflowId) Given the workflow ID, obtains theWorkflowInstance.Retrieve a list ofWorkflowInstance.
-
Method Details
-
getWorkflowInstance
Given the workflow ID, obtains theWorkflowInstance. This value is never null.- Parameters:
workflowId- ID of the workflow. Cannot be null or empty. Workflow ID must exist. For example, 100.- Returns:
- the
WorkflowInstancefor this workflow
-
containsWorkflowInstance
Given the workflow ID, checks to see if aWorkflowInstanceexists with the ID.- Parameters:
workflowId- ID of the workflow. Cannot be null or empty. Workflow ID must exist. For example, 100.- Returns:
- true if the instance exists, otherwise false
-
getWorkflowInstances
List<WorkflowInstance> getWorkflowInstances()Retrieve a list ofWorkflowInstance.- Returns:
- a list of all the
WorkflowInstance
-