cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PeterDonohue
Advocate II
Advocate II

Create Variable for Multiple Row Creation in Sharepont List

My scenario is:

 

Form > Flow > Populate sharepoint list - Currently 1 SP list item (row) per form.

 

I'm wondering how I can put a question in the Form to take a Number and then based on that number create that many rows and copy the information into them.

 

E.g.

 

Type: Cube
Volume: 6

 

The flow would then create 6 rows, each with the title Cube

 

Cheers

5 REPLIES 5
Pstork1
Dual Super User
Dual Super User

Just take the Create Item actioin and put it inside a DoUntil Loop that is controlled by a counter.  Read the values of the form, store the number in a variable, enter the loop, and keep looping until a counter is equal to or greater than the variable you stored from the form.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
v-litu-msft
Community Support
Community Support

Hi @PeterDonohue,

 

As the value format of your Form, I only provide a way how to create multiple rows according to the value of Volume.

Please have a reference on the screenshot as below:Annotation 2019-08-12 174436.pngPlease have a try and I hope it can help you.

 

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.

 

v-litu-msft
Community Support
Community Support

Hi @PeterDonohue,

Has your problem been solved?
If your problem has been solved, You could go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

Best Regards,
Community Support Team _ Lin Tu

I am yet to get it to work so will not accept a solution. Too often I see these as accepted and they are not actually correct

Hi @PeterDonohue,

 

So, you could provide more information about your requirements, then we can do better assist you.

What's the Cube's type means? Is it the column name of SharePoint?

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.

 

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.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,012)