cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PhilStanley
Helper I
Helper I

One to many in power automate

I have an MS Form that creates or updates tables on Dataverse through Power Automate which all works fine. I have a section which requires a one to many relationship (as a repeating table) for the record I am updating. In this section the form has a set of 3 questions which are repeated should the worker have extra work and needs to enter more answers as shown in the diagram.

repeating table.png

 

I am not familiar with JSON but I set up a simple JSON which brings out the first set of data but I don't know how to pick up all three. To complicate matters the user may not need to fill any of the sets if there are no extra works. Is there a video on getting a 'one to many' records from an MS Form to Dataverse via Power Automate?

 

Alternatively is there another way of doing this as I am still trying to get my head around this.

Thanks.

 

2 REPLIES 2
v-litu-msft
Community Support
Community Support

Hi @PhilStanley,

 

Each MS Form response only passes one item to Flow if you using the When a new response is submitted trigger.

 

It's recommended to make the MS Form only contains 3 questions, remove these repeat questions, then if they have repeated tasks, just need to submit the MS Form response again.

Screenshot 2021-03-24 110707.jpg

 

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.

Thank you for your reply. This would not be an option as the worker would have to enter details of name location etc on the same form and then the different jobs that is being done there. I managed to do this in Power Apps using Collections. I was hoping that using array variables would work in a similar fashion but am struggling with writing the JSON code to get it.

I will perceiver unless anyone else can help me.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (1,369)