You are here:
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.
| 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. |
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.

