I'm struggling with retrieving standard picklist Priority from the WorkOrder object. I'm trying to determine if I'm doing something massively wrong, or if there is a bug in the metadata API. I have package.xml file:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>WorkOrderPriority</members> <name>StandardValueSet</name> </types> <version>44.0</version> </Package>
I'm then using the Salesforce CLI to retrieve this from my org running the command
sfdx -r . -k package.xml -u orgAlias
I've done this a million times before on other metadata without any issues. The result of the command is the expected
unpackaged.zip file which correctly contains a folder
standardValueSets however inside this folder is only a file called:
WorkOrderLineItemPriority.standardValueSetwhich, as the savy reader will spot, is the wrong sObject.
The content of the file is also what you expect to find in the
Does anyone have experience with this particular standard picklist and how to work with it?