Linking to Script Library Scripts

Started by Staj, January 04, 2019, 10:12:09 AM

Previous topic - Next topic

Staj

It would be good if Event Processing Filtering Scripts, DCI Transformation Scripts etc. could be linked to scripts in the Script Library (not imported from Script Library, although that could be good too).
Not only would this allow for rapid reuse in a centralised manner, it would allow for easier change management if a script snippet is reused in many places. Currently, changing a calculation in a script snippet that's used by lots of DCI Transformation scripts across multiple objects would mean you have to go into each one and change it, if it was linked to a script in the Script Library, it would only need to be changed once.

Tursiops

Hm, for all I knowyou can import a script from the script library.
use <scriptname>;
You can then call a function that's been defined in that script, e.g.
return functionName(param1,param2);
We're using that for auto-bind rules (admittedly not for Transformations and Event Processing Filtering, we haven't had a need to try that yet).