web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : KriAiDLZlS1xSp87s43KdT
Power Automate - Building Flows
Answered

Parent to Child Flow Variable Issues - Run Child Flow error in Solution

Like (0) ShareShare
ReportReport
Posted on 5 Apr 2024 17:55:01 by 55

Hey all, I have a somewhat complicated flow I'm working on which I hope someone smarter can help me figure out!

In short, I'm not sure if my approach is the most efficient and I'm not sure why we keep getting "update the child for for action Run_a_Child_flow to end with a response action" error (chatGPT hasn't been the most helpful so begging for help here instead!). 

We have a Microsoft Form setup that allows users to check for a number of sites they want to visit (similar to below where they can check which site):

KBpwr_0-1712336972566.png

x Site 1

x Site 2

x Site 3

We then have a flow (deployed within a solution just for visiting) that uses a form trigger, to initialize a bunch of variables, then set them (they submit the form, it triggers and we work off the form elements):

KBpwr_6-1712338220649.png

 

Set vars:

KBpwr_7-1712338286633.png

 

 

All of that seems to be fine, but what we need is for the Flow to use the varSiteSelection variable to determine which site was checked on the form, then send all of the form vars to a child flow so it can trigger a separate approval automation (this is because each site has its own set of approvers and visiting coordinators): -- there's 18 total selections/variables to pass:

I'm using an Apply to Each that uses the varSiteSelection with a switch and case (to match the name of that site on the microsoft form), which should be the correct method to loop through the sites and pass the vars to a child flow setup for each site (basically the name matches, it triggers a child flow for that site?). 

KBpwr_4-1712337714328.png


However, when I attempt to save it, I get this message that I'm "missing a response action"

KBpwr_5-1712338097546.png

 

** I've done a fair bit of research into this and most people seem to fix it by modifying the connections in "Manage run-only permissions"  for the child flow but this didn't fix the issue for me (Workflow cannot be used as a child workflow becaus... - Power Platform Community (microsoft.com):

KBpwr_8-1712338597776.png

** there's a few more connectors but all are set to use the connection with my company e-mail -- that's the only option I have in the selection box., other than "provided by run only user". 


I also tried adding a "Respond to PowerApp or flow" which is apparently a fix for some people, but wasn't sure how to configure it and didn't work (no errors for it, just didn't solve the original "Update the child flow for action 'Run_a_Child_Flow' to end with a response action." error.

KBpwr_9-1712339182946.png

------------------------------------------------------------------

Bit of a convoluted issue but maybe someone has some insights. Our end-goal is simply to 1) have a user fill out a form, 2) if they check 1-site or 10-sites, route all the form information to a child flow that corresponds to that site, then the child flow will run an approval automation in teams based off the form data (variables) we passed.

Any help is greatly appreciated! Both the flows are in a solution together and they can connect through Run a Child Flow.

I have the same question (0)
  • Andrew_J Profile Picture
    1,962 Moderator on 07 Apr 2024 at 22:28:08
    Re: Parent to Child Flow Variable Issues - Run Child Flow error in Solution

    @KBpwr 

     

    Okay good to know my suggestions was received well.

     

    We both know MS Forms is very limited in the tools it has. 

     

    Having 10 locations across the USA, you must be sizable company so what about driving the booking through the companies website and linking this to a SharePoint for all of your Sites.  As well as the personal information you need for each person coming to visit you could have the following:

     

    SITEDATEARRIVAL TIME
    01  
    02  
    03 ETC  

     

    The above would record what you need.  I think most website builder tools, like WordPress and DotNet have an API that could link to a backend like SharePoint for minimal cost.  Then you can use Flow to do what you need internally to approve the visit.  

     

    Something is still of concern though and that is one name to many sites, even with the above custom webform the data to process the visit has to get to the right Site in time for them to process the visit and approve.  And how you get your visitors to adopt the system as you want.

     

    Anyway again I hope you find the above of use. 

     

    Regards,

     

    Andrew

  • KBpwr Profile Picture
    55 on 07 Apr 2024 at 21:25:58
    Re: Parent to Child Flow Variable Issues - Run Child Flow error in Solution

    Hey thanks again for the reply Andrew. Your approach makes a lot of sense for simplicity, we just need a solution that works, it doesn't need to necessarily be the most efficient, but there is some balance there since we don't want them to have to fill out 100 questions. You are correct in assuming that our sites are spread throughout the country (United States).

    One of our main goals is to cut down on redundancy so if they are visiting 5 sites on 5 different days, we don't want them to have to fill out requests for each one and just want them to be approved for specific dates/times based on the form data they submitted and the corresponding dates/times.

    I'm working on some potential strategies for this and appreciate the insights!

  • Verified answer
    Andrew_J Profile Picture
    1,962 Moderator on 07 Apr 2024 at 18:46:22
    Re: Parent to Child Flow Variable Issues - Run Child Flow error in Solution

    @KBpwr 

     

    Thanks that is lot clearer, having had a look at your latest responce I think the one site model is easy to build out but it when it comes to more than one as per the question below this is where we run in to issues:

    Andrew_J_0-1712514348715.png

    I assume your sites may be located all over the country if we use the UK (where I am from), as an example.  So the likelyhood of person being able to visit more than three in one day could be issue.  But the above question will result in a number of answers.  So I think that the above question although valid is where the issue layes at the start. 

     

    A question per site would be better, it would write this to SP List with a column for each site.  Then you would have 10 paralell branches for each site.  There would be a condition to check if there was a "YES" in each site the person wanted to visit  column.  Then the approval process below.  I know why you set the question above in the way you have, it looks better, but it complicates the process at the back end. 

     

    Maybe you need a seperate list that has the site plus a column for each approver then if someone leaves all you need to do is to ammend this list instead of having to change the flow everytime this happens. 

     

    Then there would be no need for the pereant and child flow issue.  

     

    Regards,

     

    Andrew

  • KBpwr Profile Picture
    55 on 07 Apr 2024 at 18:05:59
    Re: Parent to Child Flow Variable Issues - Run Child Flow error in Solution

    Thanks for the reply Andrew and sorry my post wasn't clear! I'll try again:

    Objective: Use a Microsoft Form, Power Automate, and Microsoft Teams for a visitor approval and tracking system.

    Step 1: Users fill out the Microsoft Form, it has 18 total selections (with choices like Visit Start Date, Time, Visitor Names, etc.

    Step 2: In the Microsoft form, there is a choice to select which site(s) they want to visit. If they select site a, we want our parent flow to trigger a child flow that is specifically for that site.

    Each site has their own set of approvers, that is why we need a separate child flow depending on which site the visitor might be coming to. Some visitors will come to multiple sites, some to only one location/site.

    What we want/need is to pass all the visiting information from the Microsoft Form to the corresponding site with its own set of approvers. This is why we thought the parent/child format would be best. The parent will take the form input, put each selection into a variable, then pass that variable to the sites that were checked in the "Which Site" check box from the Microsoft Form.

    Issues:

    1) Not sure if this is the best way to accomplish our goals
    2) Even if it is the best way, we currently can't get around the "missing a response action error" when trying to save and test the Site Specific child flow.

    ** In short, we want them to fill out a form, and pass all the form data to whatever site they selected in the form, then to start the approval process from there.

    Our approval process works right now, it's just for one site. So we are trying to figure out how to use one form to trigger 10 sites with the same approval process we are using for 1 right now.






     

  • Andrew_J Profile Picture
    1,962 Moderator on 06 Apr 2024 at 00:15:44
    Re: Parent to Child Flow Variable Issues - Run Child Flow error in Solution

    @KBpwr 

     

    Thanks for that long question, after reading it twice I am still none the wiser.  Forgettign the flow aspect can you please explain what you are wanting to automate.  I am seeing something about site visits but I cannot see anything more, again DO NOT mention flow but talk about your SYSTEM.

     

    Thanks,

     

    Andrew

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 786 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 724 Super User 2025 Season 2

#3
stampcoin Profile Picture

stampcoin 290 Super User 2025 Season 2

Last 30 days Overall leaderboard