Child logic app with split on does not communicate to parent logic app?

Divya venkatakrishnan 1 Reputation point

The child logic app with split on works as expected. But how does it pass the array to the parent logic app without the response step?. Because of this ,the parent logic app does not wait for the child to complete.

Please help.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,994 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Urnun 9,786 Reputation points Microsoft Employee

    Per the Note section here, SplitOn is not synchronous. So behind scenes, it'll create a separate Logic Apps instance per iteration of the array, and as each iteration starts processing, they will immediately send a response with 202 success code which is probably what's starting your parent workflow too soon.

    If that appears to be the problem, I'd recommend adjusting the workflow steps just a bit to incorporate the use of For Loop with the sequential looping turned on: "Foreach" loop: Sequential

    If you don't care about the order of sequence, on the parent Logic Apps side, you can try turning on the Asynchronous Pattern setting: Asynchronous request-response behavior