You need to sign in to do that
Don't have an account?
Using Metadata API to update workflow rules
Dear All,
If i need to update a list of WorkflowRule objects using the Metadata api update() method, do i need to create the Workflow objects to hold the list of WorkflowRule objects belong to a Workflow file?
At the moment, i'm parsing in a list of workflow xml files retrieved using an Ant script and created a list of WorkflowRule objects. After that i put the list into an UpdateMetadata[] array. However, i'm getting the following errors:
Must specify a {http://www.w3.org/2001/XMLSchema-instance}type attribute value for the {http://soap.sforce.com/2006/04/metadata}metadata element
Anyone could give me some inputs for what i might be missing would be great.
Thank you so much for your help in advance.
Best Regards,
Motoki
Can you post more of the code that you're running?