how to persist the value of a variable in a script...
# suitescript
h
how to persist the value of a variable in a script? for example i am using before load User Event script, i have a variable which is initialized with 1 value, it performs some iterations and now the value is 3, once 3 is reached it shouldnt proceed with any of the processing and it want it to exit/skip further processing. But looks like upon page reload the value is reinitialized and it is kind of going in to loop.
t
Can you write the value to a custom field and then get/set as needed?
👍 1
You can't persist a variable across the User Event entry points