Activity Forums Salesforce® Discussions What is trigger factory in Salesforce?

  • Pooja

    Member
    February 19, 2020 at 3:39 pm

    Trigger Factory is a pattern that avoids bad practices such as: Repetitive SOQL queries that can exceed governer limit.

  • Kirandeep

    Member
    February 19, 2020 at 5:21 pm

    Hi Shweta,

    Trigger factory is a pattern of writing trigger with best practices like One trigger per Object,Context-Specific Handler Methods etc.

  • Aditya

    Member
    February 20, 2020 at 6:21 am

    Hi Shweta,

    Trigger factory is used for avoiding bad practice in Salesforce such as multiple triggers on an object and Repetitive SOQL queries that can exceed governor limit. It is basically a pattern.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos