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 Automate - Building Flows
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!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard