You need to sign in to do that
Don't have an account?

Extra 'OR' in workflow formula
How can I fix this syntax? I want the first two lines evaluated first followed by the last two lines....another pair of eyes would be greatly appreciated.
ISCHANGED((AccountId) = True || (AccountId) <> '' ) &&
Address_Line_1__c <> '' OR
ISCHANGED((Account.LCL_Account_Name__c) = True || (Account.LCL_Account_Name__c) <> '')
&& LCL_Address_Line_1__c <> ''
ISCHANGED((AccountId) = True || (AccountId) <> '' ) &&
Address_Line_1__c <> '' OR
ISCHANGED((Account.LCL_Account_Name__c) = True || (Account.LCL_Account_Name__c) <> '')
&& LCL_Address_Line_1__c <> ''
First of all you cannot apply ISCHANGED method to a related field Account.LCL_Account_Name__c, I have updated the formula but you need to update it because of the restriction I mentioned
For such complex validation I would suggest to add validation in trigger
Here is a sample example, where we are querying data from objects and adding a validation
Thanks