Global variables can be used as a trigger with trigger called "Global Variable"
This trigger will ONLY get triggered when the value of it is
changed. So not when it is overwritten with the same value as the old one.
Also, for obvious reason, you can only use a global variable for this... not just a local variable.