When using scripting, we have lots of common scripts that are use often. Would be great to have a simple, and small shared resource storage place that common scripts could be uploaded/stored, and then accessed by different deployments.
The current practice is to store the the scripts on the classpath or on a “close by” web server and using nashorns load()
function. But would be much nicer if we could just upload these “attachments” somewhere and then use load()
.
I think this would solve many requests that others bring up about common scripts used across processes.
Also the purpose in this context is not to modify the camunda engine server/deployment in order to add or modify common scripts.
Example: Tasks already have the concept of Attachments.