Is it possible to import other javascript in the AM Decision node script?

In my decision node script of AM, I want to import some other javascript modules, I confirm that require keyword is not working in decision script. Just wonder, if I have a script in, is it possible that I import it in the decision script so I can use some functions from it?


Hi @CSTG_Xiaohan

While this isn’t exactly what you are looking for (referencing scripts external to your environment), have you looked into Reuse scripts :: AM 7.5.0? I think this should be able to fit your needs.

Yes, that looks like exactly what I want, will take a try.

Thanks for the help