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 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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,043)