Print this page

How to reference a Permission Set in a Formula/Workflow Rule/Validation Rule

Knowledge Article Number 000221057
Description Custom Permission Sets can not be referenced directly in a Formula/Workflow Rule/Validation Rule. However, a work around can be implemented in order to make Custom Permission Sets referenceable.
Resolution In order to make a Custom Permission Set available for Formulas/Workflow Rules/Validation Rules follow these steps:

1) Create the Custom Permission Set that needs to be referenced
2) Create a Custom Permission called the same name as the Custom Permission Set
3) Add the Custom Permission to the Custom Permission Set
4) Reference the Custom Permission as a Global Variable in the required Formula/Workflow Rules/Validation Rule ($Permission.Custom_Permission_Name).

Creating Custom Permissions: https://help.salesforce.com/apex/HTViewHelpDoc?id=custom_perms_create.htm&language=en_US

Creating Custom Permission Sets: https://help.salesforce.com/apex/HTViewHelpDoc?id=perm_sets_create.htm&language=en

 




promote demote