Process with Conditional Event without condition expression can be deployed but not executed

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: None

      When deploying a process definition that has a conditional event (intermediate or boundary) which has no expression set, 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 completely.
      See org.camunda.bpm.engine.impl.bpmn.parser.BpmnParse

      Steps to reproduce:

      deploy attached bpmn file -> no error
      start instance -> error
      ENGINE-16004 Exception while closing command context: condition expression returns non-Boolean: result has class java.lang.String and not java.lang.Boolean

            Assignee:
            Unassigned
            Reporter:
            Michal Dytko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: