You need to sign in to do that
Don't have an account?
Patrick James 13
Help Understanding AND/OR syntax
Hi,
I am just trying to get a handle on AND/OR syntax. I have the following that does not get a syntax error, but I am not sure it is doing what I want it to.
What I want is for this to trigger if:
date_Sent_to_Customer is today
OR
if the RecordType is Quote Request and the Quote Amount is > 5000.
Does this do that?
AND
( OR (TODAY() = Date_Sent_to_Customer__c ),
RecordType.Name = "Quote Request",
Quote_Amount__c > 5000,
)
I am just trying to get a handle on AND/OR syntax. I have the following that does not get a syntax error, but I am not sure it is doing what I want it to.
What I want is for this to trigger if:
date_Sent_to_Customer is today
OR
if the RecordType is Quote Request and the Quote Amount is > 5000.
Does this do that?
AND
( OR (TODAY() = Date_Sent_to_Customer__c ),
RecordType.Name = "Quote Request",
Quote_Amount__c > 5000,
)
All Answers