Package com.veeva.vault.sdk.api.workflow
Interface WorkflowInstanceCollectionResponse
public interface WorkflowInstanceCollectionResponse
Holds a list of
WorkflowInstance
s.-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsWorkflowInstance
(String workflowId) Given the workflow ID, checks to see if aWorkflowInstance
exists 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
WorkflowInstance
for this workflow
-
containsWorkflowInstance
Given the workflow ID, checks to see if aWorkflowInstance
exists 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
-