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

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.12.0, 7.12.0-alpha2
    • None
    • None

    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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce