web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Copy list item from a ...
Power Automate
Answered

Copy list item from a list to another x-times, based on a field value?

(0) ShareShare
ReportReport
Posted on by 5

Hello everybody,

 

hopefully someone can help me with this task I'm stuck on for days now... and here's the scenarion:

 

  • Trigger for selected Item on a list A
  • List A has a field Z with variable numbers per item
  • Copy list item form A to B x Z-times

I hope my explanation is not to confusing :)... any sugestions?

 

Thank you in advance!

Categories:
  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @Basileus ,

     

    Do you want to determine the number of times the Create item action needs to be executed based on the value of Z field in ListA?

     

    You could use Flow and Do Until to configure Flow.

    • Initialize the variable of type Integer and use the value of Z field as value of variable. Here you need to convert it using int() function.
    • Determine whether the variable value is greater than 0. If it is greater than 0, execute the following action.
    • Create item action and Decrement variable are configured in Do until, and the loop ends when the value of the variable is 0.

    SharePoint list:

    4.PNG

    Flow configuration:

    2.PNG3.PNG

    Please take a try.

     

    Best Regards,

  • Basileus Profile Picture
    5 on at

    Hi @v-bacao-msft ,
    awesome, it works like a charm! Thank you very much for fast and competent solution. This was exactly what I was trying to achieve. 

    Smiley Happy

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard