Class ActivityInstanceDto
java.lang.Object
org.camunda.bpm.engine.rest.dto.runtime.ActivityInstanceDto
An activity instance is the instance of an activity
- Author:
- roman.smirnov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected ActivityInstanceDto[]protected TransitionInstanceDto[]protected String[]protected Stringprotected String[]protected ActivityInstanceIncidentDto[]protected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ActivityInstanceDtofromActivityInstance(ActivityInstance instance) static ActivityInstanceDto[]fromListOfActivityInstance(ActivityInstance[] instances) the id of the activitythe activity nametype of the activity, corresponds to BPMN element name in XML (e.g.Returns the child activity instances.String[]the list of executions that are currently waiting in this activity instancegetId()The id of the activity instanceString[]getName()deprecated; the JSON field with this name was never documented, but existed from 7.0 to 7.2The id of the parent activity instance.the process definition idthe process instance id
-
Field Details
-
id
-
parentActivityInstanceId
-
activityId
-
activityType
-
processInstanceId
-
processDefinitionId
-
childActivityInstances
-
childTransitionInstances
-
executionIds
-
activityName
-
incidentIds
-
incidents
-
-
Constructor Details
-
ActivityInstanceDto
public ActivityInstanceDto()
-
-
Method Details
-
getId
The id of the activity instance -
getParentActivityInstanceId
The id of the parent activity instance. If the activity is the process definition,getId()andgetParentActivityInstanceId()return the same value -
getActivityId
the id of the activity -
getActivityType
type of the activity, corresponds to BPMN element name in XML (e.g. 'userTask') -
getProcessInstanceId
the process instance id -
getProcessDefinitionId
the process definition id -
getChildActivityInstances
Returns the child activity instances. Returns an empty list if there are no child instances. -
getChildTransitionInstances
-
getExecutionIds
the list of executions that are currently waiting in this activity instance -
getActivityName
the activity name -
getName
deprecated; the JSON field with this name was never documented, but existed from 7.0 to 7.2 -
getIncidentIds
-
getIncidents
-
fromActivityInstance
-
fromListOfActivityInstance
-