function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
IKZIKZ 

Unique name of WorkflowRule in destructiveChanges

I'm trying to add WorkflowRule to destructiveChanges and the format as far as I know should be:
<types>
        <members>Object__c.Name</members>
        <name>WorkflowRule</name>
	</types>
but how can I get unique name of the rule if always have spaces, e.g.:
 
<rules>
        <fullName>Case Set Test</fullName>

 
Raj VakatiRaj Vakati
Go to workflow and find the api name and it will be like Case_Set_Test like below

User-added image



Use this package.xml
 
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
  <types>
    <members>Custom_Object__c.MyRule</members>
    <name>WorkflowRule</name>
  </types>
  <version>26.0</version>
</Package>