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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

workflow help

(0) ShareShare
ReportReport
Posted on by

Hello

I have a workflow that waits for a few on change events and executes based on the value of a field. The workflow creates a new queue item based on the value of the field. The only different between the different queue items is the queue its assigned to. so effectively a queue routing workflow based on the value of the field. This all works fine and well except for one problem.

Sometimes in a single queue it will add the item twice or three times. all of them point back to the same record but in the queue it appears multiple times. I suspect that whats happening is that the workflow fires, and then on change occurs again and it fires again before the first one has had a chance to execute on the record. This in turn calls both of them to fire off at in parallel thus creating multiple queue items. Under normal circumstances i understand that if one queue item is created and after the second workflow executes , instead of creating a new queue item it would re parent the queue item to the correct workflow and clean up the extra record. but since they run at the same time i think whats happening is that its adding it to the queue twice.

 Does anyone have any suggestions on how to approach this problem. is there a way to limit the workflow to only run one at a time? wait for the first instance to finish and run in order for the same record.

regards

*This post is locked for comments

I have the same question (0)
  • tpeschat Profile Picture
    4,930 on at

    I don't think that the workflow instances would run in parallel.

    You could add an additional y/n field to the form, that is set to y, after a Queue item has been created. And than add a check condition to the workflow, that you only create a Queue item, if this field is not equal y.

    Hth Thomas

  • ashlega Profile Picture
    34,477 on at

    In theory, they can probably run in parallel, especially if there are multiple async services? Not sure though.. I'm curious as to why would it run again, though. Is it possible to modify the logic?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans