Interface WorkflowEvent
-
public interface WorkflowEvent
A bean to provide easy access to event related variables and operations of the running process. Don't use this bean outside of a workflow. This bean will only contain information if the workflow was started on a event. The bean will be accessible by using 'event' in your workflow expressions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getEscalationType()
Retrieve the escalation type.java.util.UUID
getEventResourceId()
Retrieve the resource id causing the event.com.collibra.dgc.core.api.model.ResourceType
getEventResourceType()
Retrieve the ResourceType of the resource that caused the event.com.collibra.dgc.core.api.model.workflow.WorkflowStartEventType
getEventType()
Retrieve theWorkflowStartEventType
.java.lang.String
getTaskCandidateUsers()
Returns the candidate users of the current task if any.java.util.UUID
getTaskId()
Returns the original task id that sent out this event, if any.java.lang.String
getTaskKey()
Returns the original task key that sent out this event, if any.com.collibra.dgc.core.api.model.workflow.WorkflowDefinition
getWorkflowDefinition()
Returns the workflow definition of this event if it was triggered in a workflow.
-
-
-
Method Detail
-
getEventType
com.collibra.dgc.core.api.model.workflow.WorkflowStartEventType getEventType()
Retrieve theWorkflowStartEventType
.- Returns:
- the
WorkflowStartEventType
ornull
if none found
-
getEventResourceId
java.util.UUID getEventResourceId()
Retrieve the resource id causing the event.- Returns:
- The resource id,
null
if it doesn't exist.
-
getEventResourceType
com.collibra.dgc.core.api.model.ResourceType getEventResourceType()
Retrieve the ResourceType of the resource that caused the event.- Returns:
- The ResourceType of the event,
null
if it doesn't exist.
-
getEscalationType
java.lang.String getEscalationType()
Retrieve the escalation type.- Returns:
- The escalation type,
null
if not present
-
getTaskId
java.util.UUID getTaskId()
Returns the original task id that sent out this event, if any.- Returns:
- The task id causing the event,
null
if not present
-
getTaskKey
java.lang.String getTaskKey()
Returns the original task key that sent out this event, if any.- Returns:
- The task key causing the event,
null
if not present
-
getTaskCandidateUsers
java.lang.String getTaskCandidateUsers()
Returns the candidate users of the current task if any.- Returns:
- The task candidate users,
null
if not present
-
getWorkflowDefinition
com.collibra.dgc.core.api.model.workflow.WorkflowDefinition getWorkflowDefinition()
Returns the workflow definition of this event if it was triggered in a workflow.- Returns:
- The WorkflowDefinition source of this event,
null
if it is not a Workflow Definition or if not found.
-
-