Package com.veeva.vault.sdk.api.workflow
Enum Class WorkflowTaskAction
- All Implemented Interfaces:
Serializable
,Comparable<WorkflowTaskAction>
,Constable
Actions that can be executed on an active workflow task.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAssigns an active, available workflow task.Cancels an active, assigned workflow task.Reassigns an active, assigned workflow task.Unassigns an active, assigned workflow task.Updates the due date on an active, assigned workflow task. -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkflowTaskAction
Returns the enum constant of this class with the specified name.static WorkflowTaskAction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ASSIGN
Assigns an active, available workflow task. UseWorkflowTaskService.assign(WorkflowTaskAssignRequest)
to get theWorkflowTaskAssignOperation
to perform this action. -
UNASSIGN
Unassigns an active, assigned workflow task. UseWorkflowTaskService.unassign(WorkflowTaskUnassignRequest)
to get theWorkflowTaskUnassignOperation
to perform this action. -
CANCEL
Cancels an active, assigned workflow task. UseWorkflowTaskService.cancel(WorkflowTaskCancelRequest)
to get theWorkflowTaskCancelOperation
to perform this action. -
REASSIGN
Reassigns an active, assigned workflow task. UseWorkflowTaskService.reassign(WorkflowTaskReassignRequest)
to get theWorkflowTaskReassignOperation
to perform this action. -
UPDATE_DUE_DATE
Updates the due date on an active, assigned workflow task. UseWorkflowTaskService.updateDueDate(WorkflowTaskUpdateDueDateRequest)
to get theWorkflowTaskUpdateDueDateOperation
to perform this action.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-