+ Start a Discussion
Gopala Karthigai Selvan MurugesanGopala Karthigai Selvan Murugesan 

Compile all apex classes and triggers

How to Compile all the apex classes and triggers in Production? Is there any way to compile through code?


1. We have Compile all classes option available in Apex Classes page. I don't see something similar to that for triggers.
2. I already raised a case with Salesforce Support to enable that functionality as per this article (as I face similar issue): https://help.salesforce.com/articleView?id=000229072&type=1
Would like to explore more on how to compile all triggers without reaching Salesforce Support if any.

NagendraNagendra (Salesforce Developers) 
Hi Gopala,

Sorry for this issue you are encountering.

Unfortunately, this is not available as of now.

May I suggest you please refer to the below idea from the success community for which you can upvote so that it can be available in the mere future for others who are encountering a similar issue. Hope the information helps.