My aim is to create a formula field on user object which validates that a user has been assigned to a particular permission set or not.
I created a custom permission called
I created a new permission set called
New_Custom_Permission_Set and added the above custom permission to this permission Set.
I assigned a user
Step4: I created a formula field of boolean type on user object called "Check Permission" which refers to
I expect the value of CheckPermission formula field on John user record as
true but it is returning
false. What is wrong with my approach here?