Graaljs loading scripts from classpath?

Hi,

I keep “global functions” (global.js) file in /camunda/lib

Under run-7.0.13 I’m able to put a global.js file in /camunda/lib and in script task execute javascript:

load(‘classpath:global.js’);

Under run-7.0.16 I put my global.js in /camunda/configuration/userlib and I get an error:

org.graalvm.polyglot.PolyglotException: Error: Operation is not allowed for: classpath:global.js

What should I do to make my setup backwards compatible?

Thanks,

Bart

Hey, did you got any solution for this? I’m stuck at the same point