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
David Wright 97David Wright 97 

Find object of trigger by name

Does anybody know if it is possible to search for a trigger by it's name, either within SFDC or by using Workbench? 

Thanks
Best Answer chosen by David Wright 97
jprichterjprichter

From the Developer Console or Workbench you can query for triggers like this:

SELECT Name, TableEnumOrId  FROM ApexTrigger WHERE Name = 'MyTriggerName'

All Answers

jprichterjprichter

From the Developer Console or Workbench you can query for triggers like this:

SELECT Name, TableEnumOrId  FROM ApexTrigger WHERE Name = 'MyTriggerName'
This was selected as the best answer
David Wright 97David Wright 97
Perfect, thank you!