cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ProtivitiDan
Advocate II
Advocate II

Parent flow doesn't wait for Run a Child Flow

I call the same child flow 5 times sequentially with 5 different inputs, then I use the results in a Compose action. The results from the child flow actions are empty in the Compose, but when I view the run history, the child flow actions all show that they are returning results. It's as if the Compose is not waiting for the Run a Child Flow actions to complete before it runs. If it matters, the Run a Child Flow actions and the Compose action are all within a Scope block.

 

I call the same child flow at another point in the parent flow (within a different Scope block) and when I use the results it works as expected. In all cased the "Configure run after" is set to the same default value of "is successful." Does that not require the actions to run synchronously and sequentially?

 

Why does running the child flow sometimes give the results and other times not? Is this a bug? 

1 ACCEPTED SOLUTION

Accepted Solutions
ProtivitiDan
Advocate II
Advocate II

RESOLVED: I moved some actions around and that still didn't help. Then I removed the dynamic content from the Compose action and added it again, and then it worked. The expressions still look identical to what they were before, but somehow that fixed it.

View solution in original post

1 REPLY 1
ProtivitiDan
Advocate II
Advocate II

RESOLVED: I moved some actions around and that still didn't help. Then I removed the dynamic content from the Compose action and added it again, and then it worked. The expressions still look identical to what they were before, but somehow that fixed it.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (1,955)