We have been experiencing a random failure, where part of the process depends on a numeric value, stored in a table. for example: process = 1
the variable is shared between groov view and pac control, the user can modify the value of the variable from groov view, and pac control uses it to run a script under an IF statement.
There is nowhere in the PAC control code, where there is an instruction to modify such variable, it always just compares it.
The failure, is that the variable changes randomly (changes from 1), and stops running the script subject to the condition.
I am looking for some wisdom in this forum to understand how this could be possible, and if the value could somehow be changing due to hardware/memory constraints.
would it be safer to use a conventional variable compared to a value within a table?