Is this the cause of my OnDataChange script being triggered upon entering a screen?
I create a boolean tag based script that will redirect to another screen upon change from 0 to 1. but now i can't get to the screen as it redirects me immediately to the other screen when i open that screen. the script are as simplified as following
if (Tags.CurrState == 1) {
print("State alert");
callscreen("Other_screen");
} else if (Tags.CurrState == 0){
print("State Alert Dismissed");
}
The goal is to manually enter an alert state and immediately go to the alert response page, then return to the page to manually switch it back again after the event is done.
the script property is general, ST, OnDataChange.