public interface ActivityInstance extends ProcessElementInstance
An activity instance represents an instance of an activity.
For documentation, see RuntimeService.getActivityInstance(String)
Modifier and Type | Method and Description |
---|---|
String |
getActivityId()
the id of the activity
|
ActivityInstance[] |
getActivityInstances(String activityId)
all descendant (children, grandchildren, etc.) activity instances that are instances of the supplied activity
|
String |
getActivityName()
the name of the activity
|
String |
getActivityType()
Type of the activity, corresponds to BPMN element name in XML (e.g.
|
ActivityInstance[] |
getChildActivityInstances()
Returns the child activity instances.
|
TransitionInstance[] |
getChildTransitionInstances()
Returns the child transition instances.
|
String[] |
getExecutionIds()
the list of executions that are currently waiting in this activity instance
|
String[] |
getIncidentIds()
the ids of currently open incidents
|
Incident[] |
getIncidents()
the list of currently open incidents
|
TransitionInstance[] |
getTransitionInstances(String activityId)
all descendant (children, grandchildren, etc.) transition instances that are leaving or entering the supplied activity
|
getId, getParentActivityInstanceId, getProcessDefinitionId, getProcessInstanceId
String getActivityId()
String getActivityName()
String getActivityType()
ActivityInstance[] getChildActivityInstances()
TransitionInstance[] getChildTransitionInstances()
String[] getExecutionIds()
ActivityInstance[] getActivityInstances(String activityId)
TransitionInstance[] getTransitionInstances(String activityId)
String[] getIncidentIds()
Incident[] getIncidents()
Copyright © 2021. All rights reserved.