Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Workflow hangs with Status Reason: Waiting for Resources

(0) ShareShare
ReportReport
Posted on by

I am trying to build some workflows, but regardless of its complexity the workflow hangs with Status Reason: Waiting for Resources. Tried already to restart CRM services. Anyone has an ideea on how to fix this behavior?

CRM-_2D00_-Workshop-_2D00_-Waiting-for-resources.JPG

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Workflow hangs with Status Reason: Waiting for Resources

    Hi Marius,

    The workflows hangs with status reason waiting for resources/ InProgress/ Waiting /Pausing due to different issues like-

    1. Many jobs are in waiting status.

    2. AsyncOperationBase table become full due to many succeeded/canceled jobs occupied space.

    3. Asynchronous processes settings are not proper.

    4. The asynchronous workflows are not configured properly.

    Very first step is to restart the  Microsoft Dynamics CRM Asynchronous Processing Service. This might work in many cases.

    You can find more solutions here-

    mscrm16tech.com/.../asynchronous-processes-wrokflows-stuck-in-inprogress-waiting-status-in-ms-dynamic-crm

  • Community Member Profile Picture
    on at
    RE: Workflow hangs with Status Reason: Waiting for Resources

    Hi Marius, you have any update about it ?. I have the same problem, the only difference I using a workflow custom activity attach to workflow, is run perfect on sync mode, but hangs "Waiting for resources" in async

  • Community Member Profile Picture
    on at
    RE: Workflow hangs with Status Reason: Waiting for Resources

    please do explain how to do that, facing same problem

  • Community Member Profile Picture
    on at
    RE: Workflow hangs with Status Reason: Waiting for Resources

    Hi,

    When you have the message waiting for resources it tries to process all tasks and workflows. I don't know your environment looks like, but you can try to tweak the table "DeploymentProperties" in the MSCRM_Config table.

    Update the fields:

    AsyncItemsInMemoryHigh from the current value (most likely 20) to for example 200

    AsyncItemsInMemoryLow from the current value (most likely 10) to for example 100

    It enables the AsyncService to process more items in memory.

  • Suggested answer
    purwar purwar Profile Picture
    2,836 on at
    RE: Workflow hangs with Status Reason: Waiting for Resources

    It should be background workflow.

    1-Background workflows are generally recommended because:

    2-They allow the system to apply them as resources on the server are available

    3-Help maintain the best performance for everyone using the system

    4-They are fine for most automation of business processes because the people using the system don’t need to be consciously aware that the process is running.

    Use real-time workflow:

    1-When a business process requires someone to immediately see the results of the process

    For example, you want to set certain default values for a record the first time it is saved

    Or you want to make sure that some records are not deleted

    2-If you want the abilityto cancel an operation

  • Community Member Profile Picture
    on at
    RE: Workflow hangs with Status Reason: Waiting for Resources

    So far I’ve discovered that Real-Time Workflows are working. Once i convert it to background workflow it's not working anymore (it is not called by the system).

    So, this raises a question. I need to send 1 email notification once I activate a contract and I need to send 3 notifications before the contract expires. I plan to do 2 workflows: Activation Notification and Expiring Notification (90 days, 60 days, 30 days). These workflows should be Real-Time Workflows or Run in Background Workflows? What is recommended?

  • Nuno Profile Picture
    2,005 on at
    RE: Workflow hangs with Status Reason: Waiting for Resources

    Hi Marius,

    What is your workflow doing?

  • Suggested answer
    purwar purwar Profile Picture
    2,836 on at
    RE: Workflow hangs with Status Reason: Waiting for Resources

    You can check details of Workflow (top left side).

  • purwar purwar Profile Picture
    2,836 on at
    RE: Workflow hangs with Status Reason: Waiting for Resources

    It is  waiting for all records or only with some/particular record.

  • Community Member Profile Picture
    on at
    RE: Workflow hangs with Status Reason: Waiting for Resources

    I did that and and it did not affect the workflow's status.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans