My requirement is to find un-Used workflow email alerts
which are not tied to any Workflow Rules
I am checking Tooling API option WorkflowAlert
Where I am thinking of doing SOQL on Workflow EMail Alert
like
select id,DeveloperName,SenderType,templateId,EntityDefinitionId from WorkflowAlert
I thought of something like WOrkflow
will be parent and in SOQL I will put something like WorkflowId = null
which will tell me no workflow rule is associated with this Email Alert but I don't think thats an option available looking at the object definition.
Please advise if there is any way to find out Workflow Email Alert
not assigned to any Workflow Rule
.