You need to sign in to do that
Don't have an account?
Jessica Feauto
Query to connect Workflow Rules and Email Alerts
I need to be able to connect each Email Alert with any associated Workflow Rules. I've been able to pull all the data using the Tooling API and querying the WorkflowRule and WorkflowAlert objects. The Email Alert is associated to the Email Template in these exports,however, that does not export a field that connects Workflow Rules and Email Alerts? Is there a way to do this? I have 200+ I am looking at and really don't want to do it by hand.
I've also looked at Workbench, but it does not have a connecting field either.
I've also looked at Workbench, but it does not have a connecting field either.
The detailed content of this field metadata that you get with the tooling api is here:
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_workflow.htm
So for a big change of many workflows, that could be "easier" to download the metadata for all the targeted worlflows and manipulate them as text files before deploying them with the workbench.
package.xml: workbench > retrieve