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
Adhvika BalaAdhvika Bala 

Workbench does not retrieve all components using package.xml

Hi,

I created a package.xml.
And using workbench to retrieve the meta data .
But in the zip file that is retreived its only retreiving permission sets even though I have serveral components in my xml file.

Any thoughts on this please?
VinayVinay (Salesforce Developers) 
Can you try using * for remaining components?  Something like below
 
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>*</members>
        <name>ApexClass</name>
    </types>
    <version>36.0</version>
</Package>

Review below link for more details
https://help.salesforce.com/articleView?id=000315117&type=1&mode=1

Thanks,
ShirishaShirisha (Salesforce Developers) 
Hi Adhvika,

Greetings!

There could be issues while retrieving the other components like Sytax mistakes or Invalid names.I would suggest you to click on the view details link before downloading the Zip file to see,if you have any warnings which can't be shown on the screen.

Please mark it as best answer if it helps you to fix the issue.

Thank you!

Regards,
Shirisha Pathuri
Adhvika BalaAdhvika Bala
When expanding the messages folder
I do see Entity of type "WorkflowAlert" named "Case_Notification' cannot be found.

etc.,
Adhvika BalaAdhvika Bala
Also added * it doesn't seem to work
VinayVinay (Salesforce Developers) 
Are you using system admin profile.  Can you share screenshot of same?