public interface RecordWorkflowActionContext
RecordWorkflowAction
.Modifier and Type | Method and Description |
---|---|
WorkflowEvent |
getEvent()
Retrieves the
WorkflowEvent that occurred which caused this action to fire. |
WorkflowParticipantGroup |
getParticipantGroup()
Retrieves the
WorkflowParticipantGroup this action is executing against, if the current event is executing
for the start step. |
List<Record> |
getRecords()
Retrieves the object records this action is executing against.
|
RecordWorkflowActionTaskContext |
getTaskContext()
Retrieves the
RecordWorkflowActionTaskContext containing information for the current task step, if the
current event is executing for a task step. |
<T> T |
getValue(String name,
ValueType<T> returnType)
Retrieves the value of the specified attribute for this workflow.
|
WorkflowConfiguration |
getWorkflowConfiguration()
Retrieves the
WorkflowConfiguration for the workflow that the action is configured on. |
WorkflowInstance |
getWorkflowInstance()
Retrieves the workflow instance this action is executing against, if the workflow instance exists.
|
<T> T getValue(String name, ValueType<T> returnType)
Supported values for name
parameter:
workflowStatus
: The status of the workflow. Returned value is either active
,
complete
, or cancelled
. Available for all events except WorkflowEvent.GET_PARTICIPANTS
.
T
- type of data requestedname
- name of the attribute to get value fromreturnType
- type of data requestedWorkflowInstance getWorkflowInstance()
WorkflowConfiguration getWorkflowConfiguration()
WorkflowConfiguration
for the workflow that the action is configured on.List<Record> getRecords()
WorkflowEvent getEvent()
WorkflowEvent
that occurred which caused this action to fire.RecordWorkflowActionTaskContext getTaskContext()
RecordWorkflowActionTaskContext
containing information for the current task step, if the
current event is executing for a task step.WorkflowParticipantGroup getParticipantGroup()
WorkflowParticipantGroup
this action is executing against, if the current event is executing
for the start step. The returned participant group will correspond to the specific participant control the action
is configured for.Copyright © Veeva Systems 2017–2019. All rights reserved.