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

Community site session details

Session Id :
Dynamics 365 general forum

Workflows are stuck in Waiting and In Progress State

(0) ShareShare
ReportReport
Posted on by 10

Hello All,

There are nearly 10000 workflows which stuck in waiting and in progress state.

maximum out of these is giving "Generic SQL error".Internally we are calling custom workflow but in traces not got enough information.

There are some of the workflows which are showing deadlock error(suspended temporarily due to error: Unhandled Exception: System.Data.SqlClient.SqlException: Transaction (Process ID 217) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction)

It is in production, please help.

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Workflows are stuck in Waiting and In Progress State

    Hi,

    If the error message confirms a sql deadlock then I don't think you can do anything from your end. If it is On Premise, you can login to sql server, find the process and kill it. You can also try restart the async service.

    If it is online, you can contact Microsoft Support to assist you with it.

    Once the deadlock is realeased, you should disable the workflow and try to find out the cause of the deadlock to avoid it n future.

    Hope this helps.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans