1

While deploying queues from vs code using sfdx cli, I'm getting below error:

ERROR running force:source:deploy:  The specified metadata type is unsupported: [queues]

It seems it's not supported.

2
  • Where is your metadata coming from ? The expected metadata api name is Queue, not queues. Commented Apr 22, 2020 at 19:56
  • Likewise, this contains good info for supported metadata types with regards to various situations. Queue seems to be supported for source tracking and metadata API so I would expect it to work. Commented Apr 22, 2020 at 20:00

2 Answers 2

2

Yes, queues are supported.

sfdx force:source:deploy -p force-app/main/default/queues

The expected file name format is:

Default.queue-meta.xml

And the expected contents should look like:

<?xml version="1.0" encoding="UTF-8"?>
<Queue xmlns="http://soap.sforce.com/2006/04/metadata">
    <doesSendEmailToMembers>false</doesSendEmailToMembers>
    <name>Default</name>
    <queueSobject>
        <sobjectType>Case</sobjectType>
    </queueSobject>
</Queue>

You'll want to refer to the Metadata API documentation for details.

0

For those who are still looking into this, cli command has been updated. Plus you do not necessarily have to specify file location. You can go with metadata type.

sf project deploy start -m Queue:QueueName

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .