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. 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. Apr 22, 2020 at 20:00

1 Answer 1

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.

You must log in to answer this question.

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