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 )

  • 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. 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
    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? Nov 23, 2022 at 18:17
  • @Caspar Harmer--Yes, it is partner user
    – user115525
    Nov 24, 2022 at 6:46


You must log in to answer this question.

Browse other questions tagged .