Deleting multiple Process builders version using Workbench
We can achieve bulk deletion of Process Builder
in fact all other Metadata Types like Apex classes, Visualforce Pages
can be deleted in the same way by creating destructiveChanges.xml
and adding corresponding Metadata Types / Members
in that file
In this post we are aiming to delete multiple process builders and this is how destructiveChanges.xml
look like
Along with above file we need package.xml
which doesn't have any information other than version as shown below
Now we need to zip above two files viz package.xml
, destructiveChanges.xml
then we need to upload using workbench as follows
Login into Workbench
using Sandbox or production then navigate to migration -> Deploy, your screen should resemble following screenshot
Upload above .zip
file using choose file
after that click Next Button then click Deploy button to delete from Sandbox/Production
NOTE: In the above file you can add ApexClasses
, ApexPages
, ApexTrigger
etc., so that all unwanted items can be delete in one go for e.g.,