Detect immediately when a global variable becomes true

Possible
read here

Or you could check where ever you set the global to true in the flow.