Activity › Forums › Salesforce® Discussions › How to call controller class method through Trigger? Salesforce® Discussions How to call controller class method through Trigger? Posted by MOHIT on January 23, 2020 at 1:26 PM How to call controller class method through Trigger? Aditya replied 6 years, 4 months ago 2 Members · 1 Reply 1 Reply Aditya Member January 23, 2020 at 1:40 PM By using the following code, we can call controller class method: public class MyFirstClass{ public void doOperation1(){ // Enter statement here } public static void doOperation2(){ //Enter statement here } } Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me