Class ActivityInstanceDto


  • public class ActivityInstanceDto
    extends java.lang.Object

    An activity instance is the instance of an activity

    Author:
    roman.smirnov
    • Field Detail

      • id

        protected java.lang.String id
      • parentActivityInstanceId

        protected java.lang.String parentActivityInstanceId
      • activityId

        protected java.lang.String activityId
      • activityType

        protected java.lang.String activityType
      • processInstanceId

        protected java.lang.String processInstanceId
      • processDefinitionId

        protected java.lang.String processDefinitionId
      • executionIds

        protected java.lang.String[] executionIds
      • activityName

        protected java.lang.String activityName
      • incidentIds

        protected java.lang.String[] incidentIds
    • Constructor Detail

      • ActivityInstanceDto

        public ActivityInstanceDto()
    • Method Detail

      • getId

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

        public java.lang.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 java.lang.String getActivityId()
        the id of the activity
      • getActivityType

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

        public java.lang.String getProcessInstanceId()
        the process instance id
      • getProcessDefinitionId

        public java.lang.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.
      • getExecutionIds

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

        public java.lang.String getActivityName()
        the activity name
      • getName

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

        public java.lang.String[] getIncidentIds()