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

CDI BusinessProcess.startProcessByKey throws exception if process instance is ended immediately

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.0.0-rc, 7.0.0
    • None
    • engine
    • None

    Description

      If a process instance is started by BusinessProcess.startProcessByKey and the process instance immediately finished (no wait state) there will be always ad exception, because it always tries to associate the execution afterwards, but then no execution exists any more:

      org.camunda.bpm.engine.cdi.ProcessEngineCdiException: Cannot associate execution by id: no execution with id '80ba0354-c6c4-11e2-a85a-eef220524153' found.
      org.camunda.bpm.engine.cdi.BusinessProcess.associateExecutionById(BusinessProcess.java:246)
      org.camunda.bpm.engine.cdi.BusinessProcess.setExecution(BusinessProcess.java:431)
      org.camunda.bpm.engine.cdi.BusinessProcess.startProcessByKey(BusinessProcess.java:137)

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                ruecker Bernd Ruecker
                ruecker Bernd Ruecker
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce