Assigning Order ownership to a queue in a Workflow field update results in error when attempting to deploy via Metadata api or Change Set.
Last updated 2022-02-10 ·Reference W-2989391 ·Reported By 10 users
Summary
If a Queue is being assigned to the Owner field of the standard Order object in a Workflow field update that update will fail to deploy via changeset or metadata api with the following error:
Cannot assign to queues for: Order
Repro
1. Create a Workflow field update in the source org, set to update the Order Owner field to a Queue enabled for Orders.
2. Include the field update in a change set or extract via the metadata api, include the Order Queue if it does not exist in the destination.
3. Attempt to deploy it in production, the deploy will fail with the above error.
Workaround
Create the field update manually in the destination or, have the update assign to a user then manually change it to a queue after deployment.
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.