i'm new to writing scripts, can someone please hel...
# suitescript
b
i'm new to writing scripts, can someone please help me figure out what's going on. I created a basic UE script and it works fine when it's in testing mode, but the moment I set it to released, it doesn't work. I'm super confused as to what changes between the two modes. I have one log that should happen regardless of if the rest does, but that doesn't even show up.
e
Apply to roles, most likely.
Testing = only runs for the Owner of the Script record. Released = runs for any roles the deployment is applied to. Or the partners, departments, etc. Most likely/usually roles.
b
sure was, i was just testing that as you wrote it!
thank you so much!!!
s
Also in general moving a script out of testing can change the log level, which can be confusing if you are using debug/audit to test
b
yup, noticed that too, that was annoying. i was using debug to test and noticed it changed level to error upon changing status to released. Thanks for the tip! i'll be sure to keep an eye on that!