-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
7.2.0-alpha5
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.