
1 respuesta

Hi Anvesh,Here is the Validation Rule Error Condition Formula that you can use. Just replace the exact Role Ids for the two roles which can create contacts without an Account.
ThanksARIf you found the reply useful that helped resolve the problem, then please mark it as best answer.IF(ISBLANK( AccountId ) && ($User.UserRoleId == [RoleId1] || $User.UserRoleId == [RoleId2]), False, True)