I try to delete a trigger and a test class in prod. However, when I use the command:
sfdx force:mdapi:deploy -c -d destroy -w 20
Here my packages in the folder "destroy" directly under the Project root
What am I missing here?
The package.xml and destructiveChanges.xml (and in fact, pretty much the entire Metadata API) is case sensitive. Make sure the name of the trigger isn't ProductsforProductGroup
or some other variation.
ProductsforProductGroup
or something like that. It must exactly match.