REFramework Global Variable at Init on systemerrors

I’m building a bot where If a system error occurred during the run, If not handled properly on the New retry it will go to another different scenario.

In order to prevent this i opted to use a Global Boolean Variable where i set it to true before the necissary step and pass it as Input/Output argument in Process.xaml.

However when i run into this problem and system error happens and moves to The Init stage The global variable is not updated ( set back to false) by the REFramework.

Can someone help me with this? i don’t understand why it is setted again to false, and I can’t update the refrerence value of the Queue item in the retry. (orchestrator doesn’t let me)

by global variable i mean in general business scope