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 Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,086)