Loading

Flows in a chatbot may run into access related issues after Winter '25 release

Publiceringsdatum: Jun 7, 2024
Beskrivning

Starting Winter '25 release, Salesforce will enforce flows initiated by a bot to run in the user context. Previously, the flows initiated in a bot ran in the system context and had permissions to access and modify all data. This change will be available for testing through the release update where it can be Enabled or Disabled by the System Admins to verify any impact. 

The reason for this change is to improve security by preventing users from unintentionally allowing bots to create or modify records they don’t have access to.

Lösning

To avoid any issues arising out of this change system admins need to identify the missing permissions and add them to the user profile or permission sets associated with the bot. You may need to use a custom bot user to provide necessary permissions as you may not be allowed to add certain permissions to the standard chatbot permission set.

Alternatively, if the invocable flow is already running in the system context then it should not cause any impact.

Ytterligare resurser

Release Update

Knowledge-artikelnummer

001918001

 
Laddar
Salesforce Help | Article