I have a workflow that was running to satisfaction for weeks now. It invoked a sub-workflow that has a timed loop that polls every 10 minutes whether the result of an asynchronous API call was completed.
But suddenly, with no change made to either the main or the sub workflow, the behaviour changed. Now when the sub-workflow is executing the Wait node, it enters a “waiting” status. Then at the main workflow level, that is treated as if the sub-workflow is completed. This makes the whole workflow fail because it depends on the sub-workflow to actually be completed.
I tried making sure that “Wait For Sub-Workflow Completion” option in the sub-workflow node is on (even though initially everything worked without having activated that option), but it does not do the trick; waiting is now apparently just considered “Completed”.
This behavior is not logical to me, but the weirdest part is that it worked perfectly up until a few days ago and now suddenly started behaving this way without making any change.
Does anyone know what is going on and how to fix this?
I’m selfhosting and running Version 1.103.2.