Skip to main content

Hello.

 

I always have issues with Salesforce Validations. Something in my head doesn't compute the logic that has to be used. Can someone translate this into something Salesforce implements correctly?

 

ISCHANGED(Approved__c)

&&

( TEXT(Application_Fee__c) <> "PAID" ||

Status__c <> "Awaiting Approval" ||

Examination_Mark__c < 75)

 

So in human speak

 

If approved is changed

AND

(

Application fee not PAID

OR

Status not Awaiting Approval

OR

Examination Mark less than 75

)

 

Then do not allow the change to occur.

 

Using more than one || declaration does't seem to work in validations for some reason

 

Any assistance very much appreciated.

Sandy

 

#Validation 

댓글 1개
0/9000