Skip to main content

Hello,

I have created validation on Opportunity product,

However the validation is when opportunity stage on (Contract Sent , Contract Signed , Contract Approved ) User not able to add or remove product and had created roll-up on Opportunity which represent that how many product have in Opportunity but I'm unable to proceed that cause of error please look into it snapshot is below:

 

Validation query

AND(

OR(

ISPICKVAL( Opportunity.StageName , "Contract Sent"),

ISPICKVAL(Opportunity.StageName, "Contract Signed"),

ISPICKVAL(Opportunity.StageName, "Contract Approved")), Opportunity.NumberofLineitems__c <PRIORVALUE( Opportunity.NumberofLineitems__c ) )

)

7 answers
  1. Oct 13, 2022, 10:10 AM

    You can not validate records in flow and now validation rule is correct because this is on correct object 

0/9000