Activity Forums Salesforce® Discussions Can we count the number of trigger on one object while executing a trigger on the same object? Reply To: Can we count the number of trigger on one object while executing a trigger on the same object?

  • Utsav

    Member
    June 2, 2016 at 7:35 am

    Hi Himanshu

    We have a ApexTrigger Object in salesforce which gives us the power to query on all the apex triggers corresponding to an object.

    For reference you can use following SOQL query:

    SELECT Count(id) from ApexTrigger

    Hope it helps