Activity Forums Salesforce® Discussions Why apex trigger is written in handler class?

  • Deepanshu Singh

    Member
    March 31, 2020 at 1:28 pm

    It is done to improve the readability and cleanliness of the code

  • Anjali

    Member
    April 1, 2020 at 12:45 pm

    In reference to follow the best practice, trigger should be logic free and for the logic purpose we use Handler class.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos