can you try: if (runtime.envType == runtime.EnvTyp...
# suitescript
n
can you try: if (runtime.envType == runtime.EnvType.SANDBOX) {