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?