Notifications
Announcements
Hi,
I am trying to make a simple flow to delete a row after 24 hours since it was created from a SQL server. I can find a lot of templates connected to SQL servers but I cannot seem to find a way to add a step to call the sql server.
Any suggestions?
Cheers.
Hi Afernando,
I guess that you want to trigger your flow by “when a row is inserted in SQL server”. But it seems that there is no trigger about SQL server can be used currently.
If I understand you correctly, I would suggest you vote this related idea at here:https://powerusers.microsoft.com/t5/Flow-Ideas/Trigger-based-on-INSERT-A-ROW/idi-p/3175
Thanks for your feedback. I would also report and collect this from my side.
Best regards, Mabel Mao
Hi @afernando,
Set a DateTime created field in your SQL table.
Add a recurrence flow, set the frequency to 'Day' and interval to '1'. User the SQL 'Get Rows' template and check the DateTime against todays date. If date is more than a day then use the Delete Row template to delete the record.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 525 Super User 2025 Season 2
Tomac 324 Moderator
abm abm 232 Most Valuable Professional