function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vijaya kudupudivijaya kudupudi 

how to use custom permission on user object

Hi All,

I want check the assigned permission set of the user in workflow. Based on the permission set assigned to the user i need to trigger an email. I have created the workflow on user object. I tried using custom permissions, using the below link .
https://help.salesforce.com/articleView?id=000221057&type=1
 but it is not working for me. Could anyone can clarify me can we use the custom permission on user object using workflow.

If if doesn't work can any one please provide the alternate solution. I want to check the assigned permission set of the user in workflow.
MagulanDuraipandianMagulanDuraipandian
Check whether this is useful - http://www.infallibletechie.com/2018/04/using-custom-permission-in-workflow.html
vijaya kudupudivijaya kudupudi
Hi Magulan,

Thank you for your response. I am also using the formula evaluates to true in the Workflow Rule.But it's not working.
When check the debug logs, i am getting $permission.Test=null.

my formula is  AND(profileId='xxx',$permission.Test,Manager<>null)

Please let me know if anything is wrong.