Interface ActivityInstance

    • Method Detail

      • getActivityId

        java.lang.String getActivityId()
        the id of the activity
      • getActivityName

        java.lang.String getActivityName()
        the name of the activity
      • getActivityType

        java.lang.String getActivityType()
        Type of the activity, corresponds to BPMN element name in XML (e.g. 'userTask'). The type of the Root activity instance (the one corresponding to the process instance will be 'processDefinition'.
      • getChildActivityInstances

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

        TransitionInstance[] getChildTransitionInstances()
        Returns the child transition instances. Returns an empty list if there are no child transition instances
      • getExecutionIds

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

        ActivityInstance[] getActivityInstances​(java.lang.String activityId)
        all descendant (children, grandchildren, etc.) activity instances that are instances of the supplied activity
      • getTransitionInstances

        TransitionInstance[] getTransitionInstances​(java.lang.String activityId)
        all descendant (children, grandchildren, etc.) transition instances that are leaving or entering the supplied activity
      • getIncidentIds

        java.lang.String[] getIncidentIds()
        the ids of currently open incidents
      • getIncidents

        Incident[] getIncidents()
        the list of currently open incidents