Hello Community,
I am hoping that someone could help me figure out why my State Machine in my workflow keeps looping and looping.
First some background information. I am using SharePoint 2013 and Nintex Workflow 2013 both on premise.
My workflow is for a PO requisition approval system that I have built against a custom list in SharePoint.
In two of the State Machine branches I have nested State Machines, were the PO approval will go to the Director or manager and then to the Finance department if the PO is in budget and over 5K. Please see the screen shot of the first level of the state machine below:
In the screen shot below I have captured all of the Approve and the More Info branches of the second level of the nested State Machine:
Below is the screen shot of the rest of the Reject branch of the second level nested State Machine that is also pictured above:
This all looks well and when I got the looping of the state machine I examined the Workflow process and found that the workflow looks like it runs normally and it hits the End State Machine, but then loops back to the Approval piece again and again. I have included a screen shot of the workflow process for the two levels of the workflow seen below:
I have tried suggestions from people such as Jesse McHargue, Kapil Joshi and Daniel Goodridge to check things such as the, safe looping setting, restart the SharePoint timer service and to check that I have properly configured my Change State settings.
Well I do not have Safe Looping turned on, I have restarted the SharePoint Timer Service and checked the Change State object and it is properly configured with the End State Machine option.
I have also attached a copy of my workflow, in case someone wants to take a look and review it to see if they can shed some light as to why this workflow keeps looping and looping.
Thank you all in advance