We are having some difficulty with permissions. Our admin has also posted on the success board. https://success.salesforce.com/answers?id=9063A000000eB7V, she also found this same posting: https://success.salesforce.com/answers?id=9063A000000l9eC I am posting here to see if there are any devs/admins on here that have run into this issue as well.

We have a process that is called from a platform event, which sends a visualforce email template in an email alert. It seems like the Automated Process user, which is the user that triggers the Platform Event, does not have access to the email template's visualforce controller. Is there any way to give access to the controller to that user?

  • Are there any profiles which do not have access to that page? Have you tried just giving access to all profiles as a shotgun approach? – Adrian Larson Mar 7 '18 at 21:32
  • I've had a similar issue, here: salesforce.stackexchange.com/questions/202709/… There's no mention of such limits on the docs. – Renato Oliveira Mar 7 '18 at 21:36
  • @AdrianLarson yea, we gave all available profiles access – Olivia Mar 7 '18 at 21:36
  • 1
    technically, AutomatedProcess is the running user that handles the subscription to the ProcessEvent (i.e. the Process Builder or trigger's running user) but not having access to a VF email template's controller would be a bug and should be reported to support. – cropredy Mar 7 '18 at 23:17
  • There appears to be a knowledge article 000270230 that address this ? - help.salesforce.com/articleView?id=000270230&type=1 – addy Jun 6 '18 at 18:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.