We have two workflows that are set to run in 'Single instance mode'.
Workflow1 searches for entries in the repository and uses the For Each Entry activity to loop through them and invokes Workflow2. The Invoke activity in Workflow1 is set to 'Wait for the invoked workflow to finish running before continuing to run the current workflow'.
This works great most of the time, but about once per day Workflow1 will get stuck on the 'Invoke Workflow2' activity. After some research I discovered an error in the 'activity errors log' for the times this happened recently. The error says "Workflow 'Workflow2' did not start because an instance is already running. [0639-WF1]".
So, for some reason Workflow 2 is not completing all the way before Workflow1 loops to the next entry. What would cause this? Is it a known issue?
Workflow Version: 10.4.3.139