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

Can not deploy compensation event when the xml position of referenced activity is below

XMLWordPrintable

      Deploy attached process compensation_reference-after.bpmn --> parser throws following exception:

      02-Mar-2016 11:39:59.678 WARNING [http-nio-8080-exec-9] org.camunda.bpm.engine.rest.exception.ProcessEngineExceptionHandler.toResponse org.camunda.bpm.engine.ProcessEngineException: ENGINE-09005 Could not parse BPMN process. Errors:
      * Invalid attribute value for 'activityRef': no activity with id 'Task_15lr2y5' in scope 'null' | process.bpmn | line 2 | column 937
              at org.camunda.bpm.engine.impl.util.EngineUtilLogger.exceptionDuringParsing(EngineUtilLogger.java:58)
              at org.camunda.bpm.engine.impl.util.xml.Parse.throwExceptionForErrors(Parse.java:191)
              at org.camunda.bpm.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:305)
      

      Deploy attached process compensation_reference-before.bpmn --> deployment successful

      Hints (optional):
      the compensation event has a activity reference. The position of the referenced activity in the xml related to the compensation event can cause the error. If the referenced activity has a higher position in the xml it works. If the position is below the event it fails.

        This is the controller panel for Smart Panels app

          1. compensation_reference-after.bpmn
            4 kB
            Michael Schoettes
          2. compensation_reference-before.bpmn
            4 kB
            Michael Schoettes

              roman.smirnov Roman Smirnov
              michael.schoettes Michael Schoettes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: