0

I am using below formula to retrieve logged in user's contact's Account's Parent's field in validation rule. It is throwing error that Agency Queue does not exist.

Is it possible to derive this? Please help. It is a validation rule.

Error: It is not detecting logged in user's contact's Account's details.

AND( ISCHANGED( OwnerId ) , BEGINS(OwnerId, "00G"), $Profile.Name == 'Partner Community for GA Admin',

Owner:Queue.Name <> $User.Contact.Account.Parent.Agency_Queue__c )

4
  • Please edit your question with more details. Your question is confusing here. Not sure you want to create a formula field or validation rule? It will be easy to help you if you can provide more details. Commented Nov 23, 2022 at 17:16
  • Is Agency_Queue__c a field on Account? Also, you can do $User.Account.Parent.Agency_Queue__c
    – cropredy
    Commented Nov 23, 2022 at 17:52
  • Usually the user would only have a contact unless they are and experience cloud user - is this the case? Commented Nov 23, 2022 at 18:17
  • @Caspar Harmer--Yes, it is partner user
    – user115525
    Commented Nov 24, 2022 at 6:46

0

You must log in to answer this question.

Browse other questions tagged .