Prevent Recursive Workflows in SharePoint

When creating Workflows in SharePoint, you might have encountered issue when workflow recursively call itself and  tell the workflow to run automatically when an item is updated [approved], then because the workflow is updating the item its goes and calls itself again!
This is known as recursive workflows, commonly known as an "infinite looping" in a workflow.
To avoid this issue we just need to add a condition to the Workflow and only update list or document library item on certain condition.

I found an interesting Microsoft article Run a workflow when a specific field changes

Also there is a video which also show how the conditions prevent recursive workflows.

Comments

Popular posts from this blog

WCF WSDL location address Issue resolved when hosted over HTTPS with basicHTTPBinding

Yellow Background issue in Word to PDF conversion

Gmail tricks - create unlimited siblings of your Gmail address