function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Forza di SognoForza di Sogno 

Survey Force & Process Builder / Visualflows


I have a Process Builder that kicks off when a survey is submitted.  It in turn is calling a Visualflow to make updates in Salesforce based on the opportunity attached to the survey.

Without the Process Builder the survey works fine, but with the PB/VF it bombs out with an "Authorization required" error.  I believe this is because of the guest site user doesn't have the "Run Visualflows" system permission (and it cannot be added).

I really hope I'm wrong.  Please tell me so.  Or do I have to write an Apex trigger instead?  I can grant the guest site user access to Visualforce pages and Apex classes, but was hoping to make it button-click friendly.
Andy BoettcherAndy Boettcher
Sites users do not have the ability to run Flows directly, but you can embed that Flow in a VF page and have them run that.