Join Slack
Powered by
What is the syntax of IF statement to check the ro...
# suitescript
p
PlanetJupiter
07/12/2021, 1:30 PM
What is the syntax of IF statement to check the role is not admin? Something like
Copy code
if (role != 1) {}
e
ehcanadian
07/12/2021, 5:34 PM
if(runtime.getCurrentUser().role !== 3) {}
p
PlanetJupiter
07/13/2021, 8:33 AM
I tried this but get this warning/error: Syntax error: unterminated regular expression literal
Open in Slack
Previous
Next