cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kabtoffe
Regular Visitor

Unable to save flow with two calls to same child flow

Hi

I've been trying out the new child flow functionally, but now I've hit a bit of s snag. I was trying to build a Flow that calls a child flow to create a SharePoint -folder and then call it another time to create a subfolder to the previously created folder. If I add a second Run a child flow -action calling the same Child Flow I am unable to save the flow due to an internal server error.

I was able to reproduce the same error with a new flow that tries to call a child flow that retrieves a environment variable twice (btw we need an action for this...). I assume this is bug? Calling different child flows hasn't caused any issues.

Kind regards,
-Toffe

Huomautus 2019-12-02 114754.png

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: Unable to save flow with two calls to same child flow

Hi @kabtoffe,

 

I have tested on my side, it will occur the issue just like you descript. It is more like a conflict that could not create two action with the same Flow. As a workaround, you can put the schema into an array, then put the array into an Apply to each action:

Annotation 2019-12-03 094813.png

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
Community Support
Community Support

Re: Unable to save flow with two calls to same child flow

Hi @kabtoffe,

 

I have tested on my side, it will occur the issue just like you descript. It is more like a conflict that could not create two action with the same Flow. As a workaround, you can put the schema into an array, then put the array into an Apply to each action:

Annotation 2019-12-03 094813.png

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

kabtoffe
Regular Visitor

Re: Unable to save flow with two calls to same child flow

Thanks @v-litu-msft . My actual use case was a bit more complicated as I needed the output from the previous child flow call for the next call. I managed to solve that using a variable. Now at least I got it saved, on to testing if it actually works or not... 

 

Here's what I ended up with:

Child_flow.png

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (8,170)