I'm trying to search and replace all validation rules in vs code. I ONLY want to retrieve validation rules, and not the entire object. I know this is possible using the xml package, however I'm hoping there is an easy way to retrieve all validation rule names as I can't use the * wildcard to get all validation rules.
I've seen and tried suggestions using workbench, but always get an error.
Is this possible?
Current package xml that successfully retrieves one validation rule:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>Account.Block_BizDev_Account_OwnerChange</members> <name>ValidationRule</name> </types> <version>47.0</version> </Package>
Screenshot of error when running