+ Start a Discussion
Darrell GallegosDarrell Gallegos 

Workflow Email Alerts & Related Templates

I am looking for a method to clean up Email Alerts 1001 (I queried workflow alerts using the Tooling API) .

So far I have the following thoughts regarding this clean up. I can query email templates and filter on Times Used = 0. This should produce the results of templates that have not been sent by user. To my understanding, system generated emails using templates will not increment the counter of Times Used. My rationale is that if I can find Email Templates with Times Used  = 0, I can then manually attempt to find the assoicated Email Alert which calls the related Email Template. From Email Template I cannot navigate to the assoicated Email Alert; however, Email Alert does have a link to the associated Email Template. 

Is there an easier method to determine which Email Templates are associated with specific Email Alerts?