{"record":{"id":"49938a789064d490","repo":"flowable/flowable-engine","slug":"no-outgoing-sequence-flow-of-the-exclusive-gateway","errorCode":null,"errorMessage":"No outgoing sequence flow of the exclusive gateway '${exclusiveGateway.getId()}' could be selected for continuing ${execution}","messagePattern":"No outgoing sequence flow of the exclusive gateway '(.+?)' could be selected for continuing (.+?)","errorType":"exception","errorClass":"FlowableException","httpStatus":null,"severity":"error","filePath":"modules/flowable-engine/src/main/java/org/flowable/engine/impl/bpmn/behavior/ExclusiveGatewayActivityBehavior.java","lineNumber":113,"sourceCode":"            }\n\n            // Already store it, if we would need it later. Saves one for loop.\n            if (defaultSequenceFlowId != null && defaultSequenceFlowId.equals(sequenceFlow.getId())) {\n                defaultSequenceFlow = sequenceFlow;\n            }\n\n        }\n\n        // Leave the gateway\n        if (outgoingSequenceFlow != null) {\n            execution.setCurrentFlowElement(outgoingSequenceFlow);\n        } else {\n            if (defaultSequenceFlow != null) {\n                execution.setCurrentFlowElement(defaultSequenceFlow);\n            } else {\n\n                // No sequence flow could be found, not even a default one\n                throw new FlowableException(\"No outgoing sequence flow of the exclusive gateway '\" + exclusiveGateway.getId() + \"' could be selected for continuing \" + execution);\n            }\n        }\n\n        super.leave(execution);\n    }\n}\n","sourceCodeStart":95,"sourceCodeEnd":120,"githubUrl":"https://github.com/flowable/flowable-engine/blob/d6d39ce1c69ff244f2d9dc6af756a9b95e865586/modules/flowable-engine/src/main/java/org/flowable/engine/impl/bpmn/behavior/ExclusiveGatewayActivityBehavior.java#L95-L120","documentation":"Thrown in ExclusiveGatewayActivityBehavior.leave when none of the gateway's outgoing sequence flow conditions evaluated to true and no default flow was configured, so the execution has no path to continue past the gateway.","triggerScenarios":"Thrown at modules/flowable-engine/src/main/java/org/flowable/engine/impl/bpmn/behavior/ExclusiveGatewayActivityBehavior.java:113 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Add a default sequence flow to the exclusive gateway in the BPMN model","Fix condition expressions so at least one evaluates true for every runtime variable combination","Log/inspect execution variables at the gateway to see why all conditions failed"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"d6d39ce1c69ff244f2d9dc6af756a9b95e865586","analyzedAt":"2026-09-11T06:41:19.413Z","contentChangedAt":"2026-09-11T06:41:19.413Z","schemaVersion":2},"datasetVersion":"2026-09-18T11:17:12.947Z"}