My DestructiveChange.xml is failing with the following error.
destructiveChanges.xml -- Warning: No WorkflowFieldUpdate named:
However, the Field Updates are listed in the xml file:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Workflow1__c</members>
<members>Workflow2__c</members>
<members>Workflow3__c</members>
<name>Workflow</name>
</types>
<types>
<members>custom object1__c.RuleName1</members>
<members>custom object1__c.RuleName2</members>
<members>custom object1__c.RuleName3</members>
<name>WorkflowFieldUpdate</name>
</types>
<version>44.0</version>
</Package>
There are other items in the xml but this is an area where I get the errors.
Any help would be great!
2 answers
Set the ignoreWarnings attribute to true to prevent sf.deploy from failing when components in destructiveChanges.xml are not found, e.g.
<sf:deploy username="${sf.undeploy1}" ... ignoreWarnings="true" />