Hi all,
I’m facing an issue with scheduling child workflows, the event stream for the workflow that spawns a child wf ends at “StartChildWorkflowExecutionInitiated”. The child workflow doesn’t get scheduled at any point, the parent workflow is left hanging and the longest I’ve seen the execution of the parent workflow to be stuck is 10 hours until manually terminated (potentially could be infinite). Other workflows are running all the time, so it’s not a resource issue.
When trying to cancel a workflow that’s being stuck I get this message:
Fatal(\"Invalid transition while attempting to cancel ChildWorkflowMachine in StartEventRecorded\")
I see one way to handle this as to introduce a timeout for the parent wf to not be hanging forever, but it’d be great to avoid the scheduling issue altogether.