public interface TransitionInstance extends ProcessElementInstance
A transition instance represents an execution token that has just completed a transition (sequence flow in BPMN) or is about to take an outgoing transition. This happens before starting or after leaving an activity. The execution token is not actually executing the activity that this instance points to which is why the corresponding activity instance does not exist.
Transition instances are the result of asynchronous continuations, asyncBefore or asyncAfter.
Modifier and Type | Method and Description |
---|---|
String |
getActivityId()
returns the id of the activity a transition is made from/to
|
String |
getActivityName()
returns the name of the activity a transition is made from/to
|
String |
getActivityType()
returns the type of the activity a transition is made from/to.
|
String |
getExecutionId()
returns the id of of the execution that is
executing this transition instance
|
String[] |
getIncidentIds()
the ids of currently open incidents
|
Incident[] |
getIncidents()
the list of currently open incidents
|
String |
getTargetActivityId()
Deprecated.
a transition instances represents a transition to or from
an activity; use
getActivityId() instead. |
getId, getParentActivityInstanceId, getProcessDefinitionId, getProcessInstanceId
@Deprecated String getTargetActivityId()
getActivityId()
instead.String getActivityId()
String getExecutionId()
String getActivityType()
String getActivityName()
String[] getIncidentIds()
Incident[] getIncidents()
Copyright © 2020. All rights reserved.