[SalesForce] How to enable flow access

I have a user who needs to execute a screen flow but gets an error :

You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary.

He has a permission set assigned with the permission Run Flows enabled. When I go to the Flow access session, I can't add any flow because the Available Flows listbox is empty.

I searched on trailhead and Salesforce help (maybe not enough) but couldn't find the purpose of the Flow access section.
I checked this question : Permission Set->Flow Access available flows is empty but as I told the Run Flows permission is enabled in the permission set.

Note that there are many autolaunched flows in the org and as far as I know (but I'll check it) they work because if they didn't that would be a mess…

So my questions are

  1. Why can't I see the flows list in the Flow access section ?
  2. Is that the right place to allow my user to run his screen flow ?
  3. If not, what shoul I do ?

Last thing, the log when trying to run the flow is almost empty :

50.0 APEX_CODE,FINEST;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;NBA,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WAVE,INFO;WORKFLOW,INFO
08:48:54.0 (285307)|USER_INFO|[EXTERNAL]|0053W000000xxxx|user_email@example.com|(GMT+01:00) heure normale d¬タルEurope centrale (Europe/Paris)|GMT+01:00

That's all I get !

Thanks for any help 🙂

Best Answer

Run Flows & Manage Flows permissions enables a user to be able to run flow or create/ edit flow respectively, in general. Run Flows should be sufficient for a user to be able to run the flow, unless you want to override this default behavior and have the flow run by users with specific profiles or permissions sets.

Why can't I see the flows list in the Flow access section ?

Check out this help article, specifically how to edit access for individual flow. make it available in the flow access section for a specific profile.

I think the problem you are having is due to record, object or field level access (not due to lack of access to run flow). So, refer to this article to understand under which user context your flow is running. As mentioned here, Org-wide default settings, role hierarchies, sharing rules, manual sharing, teams, and territories also impact what data is accessible to flows that run in user context. You might have to enable record level access or go to Object Settings in the profile to enable relevant object level & field level access.

Related Topic