Hello,
I am trying to built a simple approval process, using parent and child flow.
It'll create and approval and send email to approver once MS form is completed.
We have multiple units so I am trying to create generic approval process using child flow, I'll then call this child flow separately for each unit in the parent flow.
My Parent flow
My Child Flow
The issue I have now is, how to pass all form responses from the parent flow to the child flow?
I want to include these for approver to see what was submitted in the form?
I have passed on the FormID and ResponseID in chlid flow
but child flow stops on that step with this error
InvalidTemplate. Unable to process template language expressions in action 'Get_response_details' inputs at line '0' and column '0': 'The template language expression 'triggerBody()['text_9']' cannot be evaluated because property 'text_9' doesn't exist, available properties are 'text, text_1, text_2, text_5, text_6, text_7, text_8'. Please see https://aka.ms/logicexpressions for usage details.'.
If I manual pass all the form fields from Parent to child flow, it works without any issue but means if form changes I'll have to come back and update the flow too.
Any help and advice is greatly appreciated ?
Thanks
This does not solve the issue of needing to update parent & child flows when the form is updated.
Thanks for help but HTTP request trigger is premium feature which is not part of our non profit license 😞
ok .
Can you do this ?
1. Can you please copy the output of Get Response Details in Parent flow and paste in notepad . You will be able to see something like : "body": {}
Use that body and change the trigger of Child Flow to Http Request .
In the schema field it says generate schema from Sample . Put that data you have copied from Body into this screen.
Thanks
Thanks @ManishJain for your response, I am sorry I didn’t fully get it as I am still new to power automate, can you please elaborate a bit more?
thanks
Hi @AbuMoosa ,
Do the following :
1. Convert the first step of Child flow to http request2
2. In the parent flow use parse JSON to parse JSON of Get Response Details step in Parent flow
3. Use the same schema in HTTP Request of Child flow
4. You will get all details of Parent flow
Thanks
WarrenBelz
146,618
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,962
Most Valuable Professional