function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Arun AdepuArun Adepu 

how to check those triggers are fire on custom objects

please give me the track to find out this......
Dutta SouravDutta Sourav
Hi Arun,

Set Up> Create> object> Find the object from the list.
Under "Triggers" Section, you can find what are the triggers related to that Object.
(Also the Status whether it's Inactive or Active)

Kind regards,
Sourav
Srinivas SSrinivas S
Assume that you are writing a trigger for the following events -
1. before insert
2. before update.

Your object name is Custom__c.

You need to insert/update a record to make the trigger fire.
Note: Before inserting open developer console in one of the brower tab/open debug logs and set the user with whom you are doing the operation.

You should be able to track in the logs.

Thanks,
Srinivas
- Please mark as solution if your problem is resolved.
Siddharth ManiSiddharth Mani
In a single SOQL query this doesnt seem to be possible. However you can run the below query in your Developer Console/IDE whichever you use to get a list of all the triggers in your org:
 
SELECT Id, Name, Status, TableEnumOrId FROM ApexTrigger

Check the 'TableEnumOrId' column in the results for Object Names ending with '__c' - These will be the triggers which fire on Custom Objects. Maybe you can use a Spreadsheet to filter out the results or something!