Package com.veeva.vault.sdk.api.workflow
Interface WorkflowTaskInstance
public interface WorkflowTaskInstance
Represents a workflow task instance created from execution of a task step.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the user ID of the assignee.Retrieves the due date for the current task instance.getId()
Retrieves the ID of the current task instance.Retrieves the status of the current task instance.
-
Method Details
-
getId
String getId()Retrieves the ID of the current task instance.- Returns:
- the task ID
-
getAssigneeId
String getAssigneeId()Retrieves the user ID of the assignee. If the task is not yet assigned, returns null.- Returns:
- the user ID of the assignee
-
getStatus
WorkflowTaskStatus getStatus()Retrieves the status of the current task instance.- Returns:
- WorkflowTaskStatus object
-
getDueDate
LocalDate getDueDate()Retrieves the due date for the current task instance. If there is no due date set, returns null.- Returns:
- due date of this task
-