+ Start a Discussion
Force ProgrammerForce Programmer 

Getting Error:user does not have access to use approval assignment email template

Hi All,

 

I have my salesfoce instance integrated with a third party application. This TPA sends some lead records to Salesforce and then it is created in salesforce. Now when they sent a record they get the following error.

 

System.Exception: user does not have access to use approval assignment email template

 

Does anyone know how this error occurs and how to solve it?

 

Regards

Rony

Sonam_SFDCSonam_SFDC

Hi Rony,

 

Are there any approval processes linked to creation of Leads in your ORG..

If yes, are there any (Visualforce) Email templates that the lead owner might not have access to?

 

 

Sandesh D GanjareSandesh D Ganjare
Refer:
https://developer.salesforce.com/forums/?id=906F00000008pgPIAQ
Suraj SinghSuraj Singh
This error generally comes on VF Email template which have VF compoent in it, and This component is using a Custom Apex Controller.
So, you need to check the permission on this Apex Controller. Might be the user wo is approving, does not have permission to this controller.

Thanks
GuiSGuiS
I had the same problem and what Suraj Singh suggested worked for me. Thanks!