Class ExecutionGraphUtil


  • public class ExecutionGraphUtil
    extends Object
    • Constructor Detail

      • ExecutionGraphUtil

        public ExecutionGraphUtil()
    • Method Detail

      • isReachable

        public static boolean isReachable​(String processDefinitionId,
                                          String sourceElementId,
                                          String targetElementId)
        Verifies if the element with the given source identifier can reach the element with the target identifier through following sequence flow.
      • isReachable

        public static boolean isReachable​(org.flowable.bpmn.model.Process process,
                                          org.flowable.bpmn.model.FlowNode sourceElement,
                                          org.flowable.bpmn.model.FlowNode targetElement,
                                          Set<String> visitedElements)
      • isInEventSubprocess

        protected static boolean isInEventSubprocess​(org.flowable.bpmn.model.FlowNode flowNode)
      • getBoundaryEventActivityIds

        public static List<String> getBoundaryEventActivityIds​(DelegateExecution execution)
        Returns the list of boundary event activity ids that are in the the process model, associated with the current activity of the passed execution. Note that no check if made here whether this an active child execution for those boundary events.