public enum WorkflowEvent extends Enum<WorkflowEvent>
Enum Constant and Description |
---|
AFTER_CREATE
Occurs immediately after completion of the start step.
|
DISPLAY_PARTICIPANTS
Occurs when displaying participants with a custom action on a workflow start step.
|
GET_PARTICIPANTS
Occurs when retrieving participants with a custom action on a workflow start step.
|
TASK_AFTER_ASSIGN
Occurs immediately after acceptance or reassignment of a task instance.
|
TASK_AFTER_CANCEL
Occurs immediately after cancellation of a task instance.
|
TASK_AFTER_COMPLETE
Occurs immediately after completion of a task instance.
|
TASK_AFTER_CREATE
Occurs immediately after task creation.
|
TASK_BEFORE_COMPLETE_DIALOG
Occurs immediately before displaying the completion dialog of a task instance.
|
Modifier and Type | Method and Description |
---|---|
WorkflowStepType |
getStepType()
Indicates the associated
WorkflowStepType for this workflow event. |
static WorkflowEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkflowEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkflowEvent DISPLAY_PARTICIPANTS
public static final WorkflowEvent GET_PARTICIPANTS
public static final WorkflowEvent AFTER_CREATE
public static final WorkflowEvent TASK_AFTER_CREATE
public static final WorkflowEvent TASK_AFTER_CANCEL
TASK_AFTER_CANCEL
event fires once for each
task step. For example, a user completes a task which short-circuits the workflow and cancels all the tasks in two
remaining task steps. If these task steps had custom actions configured on the TASK_AFTER_CANCEL
event,
the action logic only executes two times even if there are multiple task instances in each remaining
task step.public static final WorkflowEvent TASK_BEFORE_COMPLETE_DIALOG
public static final WorkflowEvent TASK_AFTER_COMPLETE
public static final WorkflowEvent TASK_AFTER_ASSIGN
public static WorkflowEvent[] values()
for (WorkflowEvent c : WorkflowEvent.values()) System.out.println(c);
public static WorkflowEvent valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic WorkflowStepType getStepType()
WorkflowStepType
for this workflow event. This is the step type each event is tied to.Copyright © Veeva Systems 2017–2020. All rights reserved.