-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
When deploying a process definition that has an embedded subprocess which has no start event, the engine throws an error when trying to start an instance of the process.
This is expected.
We should check this when deploying the process definition and prevent the deployment as it can never be executed.
See org.camunda.bpm.engine.impl.bpmn.parser.BpmnParse
Steps to reproduce:
- deploy attached bpmn 2 file -> no error
- start instance -> error
ENGINE-16004 Exception while closing command context: No initial activity found for subprocess Task_1l4wu5c: initialActivity is null