Activity › Forums › Salesforce® Discussions › Can a trigger call a batch class in Salesforce? Tagged: Batch Class, Batch Jobs, Salesforce Trigger Salesforce® Discussions Can a trigger call a batch class in Salesforce? Posted by Avnish Yadav on July 19, 2018 at 9:36 AM Can a trigger call a batch class in Salesforce? Parul replied 7 years, 8 months ago 4 Members · 3 Replies Batch ClassBatch JobsSalesforce Trigger 3 Replies Anjali Member July 19, 2018 at 2:08 PM Hello Avnish, You can call a batch from a trigger, but you need to be aware of potential limits you could hit. You can only have 5 batch jobs queued or executing at once. If your trigger calls batch jobs each time, then you could quickly exceed that limit. [adinserter block='9'] shariq Member September 16, 2018 at 1:40 PM Hi, Yes but it is not the best practice, there are limits in salesforce, so better is to change your logic and try something else. Hope this helps. Parul Member September 16, 2018 at 2:37 PM Yes you can call the batch class but salesforce have some governor limits and if you call trigger using batch it hits the limit. Thanks Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me