Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

How can I get these flow items to repeat automatically?

(0) ShareShare
ReportReport
Posted on by

This is a scheduled flow, due to run every evening to update a Sharepoint LIst.  (I'm using a stored procedure to tell me which mobile phone is in who's possession.  This is logged in SQL Server).

As you can see with the screenshot, I'm having to repeat the SQL stored procedure, starting with input data '1' and then '2' etc to get the output from the stored proc.  i.e. who has mobile phone no.1, no.2 etc. 

The 'Apply To Each' has 'update an item' - a Sharepoint list, with ID number of the row 1, 2, 3 etc.  Each 'Update An Item' has update row with ID 1, then 2 etc to match the input data of the stored procedure.


This works fine once, but I'm going to have to manually repeat the stored procedure about 100 times.


Hope that makes sense?   I'm totally stuck and ideally we don't want to change the stored procedure.  Any suggestions or thoughts please!!  Thank you. 


repeated-stored-procedure.png

  • abm abm Profile Picture
    32,472 Most Valuable Professional on at
    Re: How can I get these flow items to repeat automatically?

    Hi @matt-s77 

     

    Is your ID's are fixed all the times from the input? Why not construct an array to store all the ID's? Iterate the array to get each id's and pass to your Stored Procedure?

     

    Thanks

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >