function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Michele ToscanoMichele Toscano 

Missing a )

Where am I missing a )?  My syntax is incorrect when putting this into a Process Builder. 

AND(
ISCHANGED([Price_Authorization_Request__c].Billing_Region__c ),
[Price_Authorization_Request__c].RecordType.Name = 'Standard PAR',
([Price_Authorization_Request__c].PAR_Status__c = 'Pending Approval' OR
[Price_Authorization_Request__c].PAR_Status__c = 'In-Progress')
         ) 
Best Answer chosen by Michele Toscano
Manjul SharmaManjul Sharma
Hi Michele, I would try something like the below with && and ||:


ISCHANGED([Price_Authorization_Request__c].Billing_Region__c ) &&
 [Price_Authorization_Request__c].RecordType.Name = 'Standard PAR' && 
([Price_Authorization_Request__c].PAR_Status__c = 'Pending Approval' ||
[Price_Authorization_Request__c].PAR_Status__c = 'In-Progress')
 

All Answers

Saravana Muthu 8Saravana Muthu 8
Please use the below formula.

AND(
ISCHANGED([Price_Authorization_Request__c].Billing_Region__c ),
[Price_Authorization_Request__c].RecordType.Name = 'Standard PAR',
OR([Price_Authorization_Request__c].PAR_Status__c = 'Pending Approval',
[Price_Authorization_Request__c].PAR_Status__c = 'In-Progress')) 


Please let me know if it helps.

Please don't forget to mark this as solved if it's resolved.

Thanks,
Saravana
Manjul SharmaManjul Sharma
Hi Michele, I would try something like the below with && and ||:


ISCHANGED([Price_Authorization_Request__c].Billing_Region__c ) &&
 [Price_Authorization_Request__c].RecordType.Name = 'Standard PAR' && 
([Price_Authorization_Request__c].PAR_Status__c = 'Pending Approval' ||
[Price_Authorization_Request__c].PAR_Status__c = 'In-Progress')
 
This was selected as the best answer