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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,491)