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)
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.
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!
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
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.
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!