Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10274

Embedded Subprocess without start event can be deployed but not executed

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.12.0, 7.12.0-alpha2
    • Component/s: None
    • Labels:

      Description

      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:

      1. deploy attached bpmn 2 file -> no error
      2. start instance -> error

      ENGINE-16004 Exception while closing command context: No initial activity found for subprocess Task_1l4wu5c: initialActivity is null

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            miklas.boskamp Miklas Boskamp
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: