Loading
Prepare for Email to Become the Default Login ExperienceRead More
Automate Your Business Processes with Salesforce Flow
Activate Session-Based Permission Set Action

Activate Session-Based Permission Set Action

Activate a session-based permission set for the running user.

Required Editions

View supported editions.

In Flow Builder, add an Action element to your flow. In the Action field, enter Permission Set, and select Activate Session-Based Permission Set.

Set Input Values

Use values from earlier in the flow to identify the permission set to activate.

Important
Important You can run queries, but don’t modify Salesforce data in flows that also activate session-based permission sets.
Field Description
Permission Set Name

The developer name of the permission set.

This parameter accepts single-value resources of any type. That value is treated as text.

Permission Set Namespace

Optional. The permission set’s namespace.

This parameter accepts single-value resources of any type. That value is treated as text.

Example
Example

A junior buyer in your org occasionally requires access to your Contracts object. Create a session-based permission set with access to the object. Then create a flow that uses the Activate Session-Based Permission Set core action. Configure the action to activate the permission set.

The junior buyer runs the flow to access contracts during the current user session. The action activates the permission set for the junior buyer during the current session.

 
Loading
Salesforce Help | Article