Importing JavaScript library into script in script task


I’ve been exploring ways of invoking functions in a script that belong to an external library or class.

Ive added some scripts into the tomcat directory on the engine side and I’m trying to figure out how I can utilise these in a script while building a bpmn in the desktop modeller

Any help appreciated