web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Moving an email to a different queue

(0) ShareShare
ReportReport
Posted on by 27

Hello everyone,

I need to move queue items from one queue to another as they are created. I've built a workflow with the necessary conditions to select the queue items that need to be moved, but not sure how to proceed. I tried an Update Record step but the Queue field is disabled. I found the following: https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/177920/moving-emails-from-one-queue-to-another?pifragment-97030=1 but the way it's addressed here is by creating a new queue item in the target queue, which doesn't leaves the original in the original queue (and as it's also pointed out, there's no way to remove the queue item from the queue using workflow). 

4861.pastedimage1597949505009v1.png

Are there any better options other than doing this and creating a separate job to clean up the original queue?

Thank you,

Enrique

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    You should be able to achieve your requirement with AddToQeuue request.

    See below docs for sample code by mcirosoft.

    docs.microsoft.com/.../sample-add-record-queue-early-bound

    Please mark my answer verified if i were helpful

  • Verified answer
    LuHao Profile Picture
    40,892 on at

    Hi ebias,

    We will use AddToQueue action of workflow.

    In the workflow, after setting the condition, add step Perform Action.

    1447.pastedimage1598000641895v1.png

    Select Action to AddToQueue.

    0434.pastedimage1598000689018v2.png

    Click Set Properties, select Dynamics 365 {Queue(Queue Item)} for SourceQueueId, {Object(Queue Item)} for Target, select the queue that the item will be moved to for DestinationQueueId.

    7242.pastedimage1598000729700v3.png

  • Suggested answer
    ebias Profile Picture
    27 on at

    Thank you Lu Hao, that worked!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 74

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans