Does anyone know how NetSuite (workflow conditions...
# general
s
Does anyone know how NetSuite (workflow conditions) evaluates expressions without parentheses? Are they evaluated from left to right or do ANDs take precedence over ORs? For example: clause1 AND clause2 OR clause3 OR clause4 AND clause5
I know that I can throw some parentheses in there to clean it up. I'm trying to figure out what a previous admin (no longer here) was trying to accomplish. They did not have any parentheses in there
s
Hey @Steven M I would NOT use the "OR" without using parentheses. I feel like they should always be used together in all things NS (i.e. Saved Searches, workflows, etc.). The times that I have not used parentheses, I am pretty sure the search/condition brought in WAY more information than we needed, since adding the OR negated the previous clauses. Does that make sense?
b
use sql operator precedence rules
s
thank you both!
👍 1