Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

Triggering Queue Items Workflow Based On OOB Actions

Posted on by Microsoft Employee

Hey All, 

I am working on a workflow that will populate the Case record (Queue lookup field) with the Queue name that the Case is added to. I have that functionality working, but I am running into an issue when it comes to clearing the Queue on the Case when the Queue Items record is deleted, removed, or picked (and removed from the Queue).

I am not sure how to specify logic in the workflow that will allow me to use these OOB actions (Delete, Remove, Pick) as a Check Condition. Ideally, I'd say something like "If Queue Items is 'Remove/Delete/Pick', then clear the Queue lookup field on Case". 

I'm wondering if anyone can point me in the right direction here. Thank you! 

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Triggering Queue Items Workflow Based On OOB Actions

    Hi Ras13j,

    As you mentioned, “not sure how to specify logic in the workflow that will allow me to use these OOB actions (Delete, Remove, Pick) as a Check Condition.

    Not using condition in the workflow, there is many OOB triggers in the workflow, you can use them to achieve goals:

    Workflow processes | Microsoft Docs

    Options in Start When section can specify when a workflow should start automatically.

    pastedimage1622792057661v1.png

    1.When you pick a queue item and select No for ‘Also remove the item(s) from the Queue’, ‘Work By’ field will change.

    You need select trigger-- Record Field Changes (Work By)

    2.When you pick a queue item and select Yes for ‘Also remove the item(s) from the Queue’, or Remove/Delete queue items, queue items will be deleted.

    You need select trigger -- Record is Deleted

    pastedimage1622793868818v2.png

    Then you can update related case to clear queue lookup field through adding 'Update Record' step.

    pastedimage1622795544390v3.png

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans