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

Notifications

Announcements

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,865 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

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard