Package com.veeva.vault.sdk.api.workflow
Enum Class WorkflowAction
- All Implemented Interfaces:
Serializable
,Comparable<WorkflowAction>
,Constable
Actions that can be executed on an active workflow.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdds participants to an active workflow.Cancels an active workflow.Removes items in an active workflow.Replaces the workflow owner of an active workflow.Updates the due date of an active workflow. -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkflowAction
Returns the enum constant of this class with the specified name.static WorkflowAction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADD_PARTICIPANTS
Adds participants to an active workflow. UseWorkflowInstanceService.addParticipants(WorkflowAddParticipantsRequest)
to get theWorkflowAddParticipantsOperation
to perform this action. -
CANCEL_WORKFLOW
Cancels an active workflow. UseWorkflowInstanceService.cancelWorkflow(WorkflowCancelRequest)
to get theWorkflowCancelOperation
to perform this action. -
REMOVE_ITEMS
Removes items in an active workflow. UseWorkflowInstanceService.removeItems(WorkflowRemoveItemsRequest)
to get theWorkflowRemoveItemsOperation
to perform this action. -
REPLACE_WORKFLOW_OWNER
Replaces the workflow owner of an active workflow. UseWorkflowInstanceService.replaceWorkflowOwner(WorkflowReplaceOwnerRequest)
to get theWorkflowReplaceOwnerOperation
to perform this action. -
UPDATE_WORKFLOW_DUE_DATE
Updates the due date of an active workflow. UseWorkflowInstanceService.updateWorkflowDueDate(WorkflowUpdateDueDateRequest)
to get theWorkflowUpdateDueDateOperation
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
-