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 / Creating flow to migra...
Power Automate
Unanswered

Creating flow to migrate SharePoint list records to SQL Server

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I have a SharePoint List, where we have a good number of tickets created. Now we are trying to move this tickets to SQL server. The purpose of moving this tickets to SQL Server is just to track the historical tickets. So the Criteria is if the Ticket status is "Closed" and it has been 30 days since it is closed then we need to move that ticket to SQL Server table.

for eg. Ticket 1 has close date of 18th Dec 2020 and today's date is 18th Jan 2021 then it has been 30 days since that ticket is closed so we will be moving this ticket to SQL server.

 

Now for eg. if i have 15 columns in SharePoint list then what i did is i created a table with same 15 columns in SQL server. As of now it is not having any records.

 

So first i want to know via Flows/Power Automate how to move the SharePoint lists records to the SQL server table (With the condition that ticket should be closed before 30 days from todays date). This flow should run daily.

 

Please let me know the detail steps because i Don't have much knowledge in Flows and Power Automate.

 

Thanks in Advance,

Prakash

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    Hi All,

     

    I have used "Get Items" function from Share Point.

     

    In the Filter query provided the logic.

     

    Filter query.PNG

     

    And then i used Insert into Sql step.

     

    Thanks,

    Prakash M

     

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard