I have created a button action flow, when a user clicks on the button it sets the value of the field. This button should only be available to users where the field 'sales role' is 'account executive'. This custom field is on the user record. Please advise the best way?
1 respuesta
Hi @Belgi Unsal
If you have Dynamic Actions in your org, you can use conditional visibility on the record page for the button: https://help.salesforce.com/s/articleView?id=platform.lightning_app_builder_create_dynamic_action.htm&type=5
Alternatively, a less elegant solution would be to have a decision on the flow checking for the use's sales role. The user would still be able to click the button, but not use it.