Is there any way for child flows to directly respond to PowerApps? I'm trying to find a way to handle the inability to have multiple HTTP responses, with unique JSON schemas. I was hoping that Child Flows would directly respond to powerapps somehow, but I guess that was a hopeful assumption. While the flow works - each child flow returns it's own unique arrays - it's only returning those values to the flow itself. What is returned to PowerApps is just a true value - something I'm familiar with being the case when the JSON schema isn't properly defined. Gah...
Anyone aware of a way to get something like this working?
If the Flow is started from a PowerApp then there is a Respond to PowerApps action that you can use to send information back to PowerApps. It can be tricky to get the datatypes corrrect when using the response in PowerApps. That's often where I see the return being just a boolean. But it is possible.
Considering I'm returning various arrays/tables, and in some instances single records of data, wouldn't that force me to use the parse JSON action on every different child flow before then have to painstakingly map out the individual field types to their corresponding output field from the Parse JSON action? This would be for every field, of every table, of every child flow?
Edit: Or... are you referring to using the parse json paired with the respond to powerapps action at the child flows?
Yes, you will have to use ParseJSON to evaluate the returns and combine them into some format, probably JSON, to return that to PowerApps. There really is no other way. Otherwise how would PowerApps know what to do with the various JSON outputs you send?
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!