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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,581)