Class ActivityInstanceDto

java.lang.Object
org.camunda.bpm.engine.rest.dto.runtime.ActivityInstanceDto

public class ActivityInstanceDto extends Object

An activity instance is the instance of an activity

Author:
roman.smirnov
  • Field Details

    • id

      protected String id
    • parentActivityInstanceId

      protected String parentActivityInstanceId
    • activityId

      protected String activityId
    • activityType

      protected String activityType
    • processInstanceId

      protected String processInstanceId
    • processDefinitionId

      protected String processDefinitionId
    • childActivityInstances

      protected ActivityInstanceDto[] childActivityInstances
    • childTransitionInstances

      protected TransitionInstanceDto[] childTransitionInstances
    • executionIds

      protected String[] executionIds
    • activityName

      protected String activityName
    • incidentIds

      protected String[] incidentIds
    • incidents

      protected ActivityInstanceIncidentDto[] incidents
  • Constructor Details

    • ActivityInstanceDto

      public ActivityInstanceDto()
  • Method Details

    • getId

      public String getId()
      The id of the activity instance
    • getParentActivityInstanceId

      public String getParentActivityInstanceId()
      The id of the parent activity instance. If the activity is the process definition, getId() and getParentActivityInstanceId() return the same value
    • getActivityId

      public String getActivityId()
      the id of the activity
    • getActivityType

      public String getActivityType()
      type of the activity, corresponds to BPMN element name in XML (e.g. 'userTask')
    • getProcessInstanceId

      public String getProcessInstanceId()
      the process instance id
    • getProcessDefinitionId

      public String getProcessDefinitionId()
      the process definition id
    • getChildActivityInstances

      public ActivityInstanceDto[] getChildActivityInstances()
      Returns the child activity instances. Returns an empty list if there are no child instances.
    • getChildTransitionInstances

      public TransitionInstanceDto[] getChildTransitionInstances()
    • getExecutionIds

      public String[] getExecutionIds()
      the list of executions that are currently waiting in this activity instance
    • getActivityName

      public String getActivityName()
      the activity name
    • getName

      public String getName()
      deprecated; the JSON field with this name was never documented, but existed from 7.0 to 7.2
    • getIncidentIds

      public String[] getIncidentIds()
    • getIncidents

      public ActivityInstanceIncidentDto[] getIncidents()
    • fromActivityInstance

      public static ActivityInstanceDto fromActivityInstance(ActivityInstance instance)
    • fromListOfActivityInstance

      public static ActivityInstanceDto[] fromListOfActivityInstance(ActivityInstance[] instances)