Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

More users executed workflow at the same time

Posted on by 287

Hi,

I setup a workflow to call plugin. I have 7 BU.

When 2 or more users execute workflow at the same time, just one user could execute. Another users can not execute workflow and workflow status is waiting.
I want more user could execute workflow at the same time. How can I do?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: More users executed workflow at the same time

    If the workflow session is set to Waiting, then that usually means an error has occurred.  Check out the error message in the details and it may provide some insight.  

    Generally speaking, you could be hitting issues with contention if lots of work is being applied to a single entity... for example, you could see locking at the SQL Server level if too many processes are accessing a single table.

    Some general questions:

    • Does this workflow include a custom workflow activity?  If so, you could include some tracing that provides detail on what is happening that will be displayed in the plugin trace logs
    • How is the workflow configured to run?  Is this synchronous or asynchronous?  This may have an impact on how the workflow operates.
  • Suggested answer
    Mahadeo Matre Profile Picture
    Mahadeo Matre 17,021 on at
    RE: More users executed workflow at the same time

    Hi..

    It looks like you have synchronous / real time workflow.. make it asynchronous then it might execute at the same time..

  • HungPham Profile Picture
    HungPham 287 on at
    RE: More users executed workflow at the same time

    hi @Temmy,

    Workflow setup:

    1. run in background

    2. as an on-demand

    3. scope: organization

    4. entity: my_custom_entity

    BU setup:

    1. Org: ABC

    2. 7 BU: from A1 to A7

    Security: user role as admin (testing)

  • Suggested answer
    Temmy Wahyu Raharjo Profile Picture
    Temmy Wahyu Raharjo 2,914 on at
    RE: More users executed workflow at the same time

    Hi, how do you sett your workflow? Do you run it on background? And what's the setting for Execute as the user itself or administrator or something?

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans