I’m using Ignition 8.0.7.
In the “Gateway Events Scripts”, global variables are not recognized within the functions that are declared within the scripts. In the logs you can see this error: “global name ‘NUM_TURNOS_DIA’ is not defined”.
The “system” package is also not recognized within the functions.
You have to import it to use it.