Hello, we have a fairly (but not overly) complex workflow that employs a state-machine. At the conclusion of the third state, we immediately execute a "Stop Workflow" action. We have noticed that from time to time the workflow remains in an InProgress (active) state despite arriving at this Stop Workflow action. This issue is inconsistent and I cannot identify a failure pattern.
I have attached the workflow and would greatly appreciate any feedback on the issue. We concede that there may be opportunities to generally improve the performance of this workflow and welcome those comments as well, but I am specifically curious about the end state mentioned above.