Package com.veeva.vault.sdk.api.workflow
Interface WorkflowItem
- All Known Subinterfaces:
WorkflowItemDocument
,WorkflowItemRecord
public interface WorkflowItem
Represents an item that a workflow is executing on.
-
Method Summary
Modifier and TypeMethodDescription<T extends WorkflowItem>
TgetTypedWorkflowItem
(Class<T> workflowItemClass) Retrieves the WorkflowItem as aWorkflowItemRecord
orWorkflowItemDocument
.Retrieves the workflow item type.
-
Method Details
-
getWorkflowItemType
WorkflowItemType getWorkflowItemType()Retrieves the workflow item type.- Returns:
- WorkflowItemType object
-
getTypedWorkflowItem
Retrieves the WorkflowItem as aWorkflowItemRecord
orWorkflowItemDocument
.- Type Parameters:
T
- type of workflowItem requested- Parameters:
workflowItemClass
- Class of type of WorkflowItem requested- Returns:
- WorkflowItem - either WorkflowItemRecord or WorkflowItemDocument
-