Workflow stuck in started stage in sharepoint 2013

ameneh maleki 26 Reputation points
2024-03-05T08:10:54.48+00:00

I have a large sharepoint list (with about 34000 Items), I set a workflow on this list that change filed value and workflow set started automatically when an item in a list is changed.

But workflow doesn’t work correctly for some of items in a list and stuck in started stage.

I should mention that users in this list update large items via excel sheet view simultaneously.

I’m very appreciated if anyone can help me.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,793 questions
SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
516 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yanli Jiang - MSFT 21,616 Reputation points Microsoft Vendor
    2024-03-05T10:00:27.8066667+00:00

    Hi @ameneh maleki ,

    It's possible that the workflow is getting stuck due to the large number of items in the list and the simultaneous updates being made by users via Excel sheet view. One workaround could be to increase the workflow timeout duration. You can do this by following these steps:

    1. Open the affected workflow in Microsoft SharePoint Designer 2013.
    2. On the Workflow Settings page for the workflow, click on the "Change the default timeout for this workflow" link.
    3. Increase the timeout duration to a higher value, such as 1 hour or more.
    4. Save the workflow, and then publish it to the SharePoint website.
    5. Run the workflow again.

    This should give the workflow enough time to complete without getting stuck. Additionally, you can try to optimize the workflow by reducing the number of actions being performed or breaking it down into smaller workflows.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.