Calling Project Script module from Gateway script


I have a gateway tag change script that needs to call a function several times. This function will also get called from a button on the client. I have tried calling a script module from the gateway tag change script and gotten some strange results. Sometimes it seems like it calls a different script module and sometimes it seems to do nothing at all.

Is this possible or is there something else I need to know?



We may need to see what your script looks like. Also, if you are using any system functions, make sure you import system in your user defined functions.