+ 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!