So I'm stuck on a situation where I have a parent and a child flow. Parent flow waits for a child flows response. Child flow responds success when child flow run is completed successfully. However, I have an approval process within the child flow that is inside a ApplyToEach(ForEach) loop, and I need to exit this foreach loop. "Terminate" action cannot be used inside a foreach loop. Hence I tried using "CancelFlowRun" action. This works by cancelling the child flow, but the issue is it sends back no response to the parent flow. Parent flow keeps on retrying to start the child flow. Now I have also turned the Retry Policy to "None". Which means parent flow will not retry to start the child flow. But the issue is the parent flow fails due to the fact child flow did not respond because it was cancelled. And we cannot use Respond to flow option or Response HTTP option from child flow within a ForEach loop, this is not allowed.
Is there any suggestion. I do not want to rewrite my entire flow, took a lot of time and effort 😥