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

Compile scripts during first execution instead of process parsing

    XMLWordPrintable

Details

    Description

      AT:

      • compile script during first execution instead of parsing

      =====

      The error message when a bpmn references an uncompilable script is a ProcessEngineException telling e.g.

      "Unable to load script file from resource deployment://com/plexiti/test/MyTestScript.groovy | MyTestProcess.bpmn | line 13 | column 163
      ScriptTask does not provide script | MyTestProcess.bpmn"

      This is exactly the same message I also get when the script file cannot be found in the deployment ... but here, the actual "loading" problem is a compilation issue, not a "file not found" problem. Furthermore, in the info level logs I just see this very same bpmn deployment issue, but would have expected to see a preceding or wrapped script compilation exception telling me that the script is not compilable due to a specific reason - quite typically class loading issues.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              meyer Daniel Meyer
              martin@schimak.at Martin Schimak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce