1

The validation rule should not fire for the Manager of the Opportunity Owner.

Probability > 0.90

&& RecordTypeId = "012qui000002se456" && ISPICKVAL(Multi_Quarter_Delivery__c,"")

&& NOT( $User.IntegrationUser__c )

*&& NOT($User.Id = Owner.Id)*   // please suggest me on this.

1 Answer 1

1

You have to add one more condition(With && condition).

Owner.Manager.Id  <>  $User.Id

It says if the manager of the owner of opportunity is not equal to the id of the user then apply validation rule.

5
  • you mean &&Not( $User.Manager.Id = $user.Id) May 3, 2016 at 7:50
  • No, you want to check for the opportunity owner so you have to apply this: &&Not( Owner.Manager.Id = $user.Id) .I removed my previous comment.
    – Mr.Frodo
    May 3, 2016 at 7:56
  • ISPICKVAL( Account.Business_Unit__c ,"VIS")&& Probability > 0.59&& RecordTypeId = "012w00000002PE5"&& ISPICKVAL(Multi_Quarter_Delivery__c,"") && NOT( $User.IntegrationUser__c ) && NOT( $User.IntegrationUser__c ) && NOT($User.Id = Owner.Id) && Not( Owner.Manager.Id = $user.Id) So finally it will be like this. May 3, 2016 at 8:08
  • yes this is exactly what i want to say.
    – Mr.Frodo
    May 3, 2016 at 9:31
  • @CodeDictator Please mark answer correct if it solved your issue.
    – Mr.Frodo
    May 3, 2016 at 10:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .