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

Community site session details

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

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:
I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    on at
    Re: Copy list item from a list to another x-times, based on a field value?

    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
    Re: Copy list item from a list to another x-times, based on a field value?

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard