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 / How can I get these fl...
Power Automate
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

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 1,027

#2
Valantis Profile Picture

Valantis 809

#3
Haque Profile Picture

Haque 645

Last 30 days Overall leaderboard