cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
gpiffaretti
Level: Powered On

Update Common Data Model when SQL Database gets updated

Hi,

 

I have an app that is using Common Data Model entities as storage. And I'd like to trigger a Flow that whenever a SQL Server table or row gets updated, it updates a corresponding row in the Common Data Model. I want to have both persistence methods in sync. However, Flow doesn't seem to have a Trigger for SQL Server. Is there any workaround for this? 

 

Thanks.

1 REPLY 1
Community Support Team
Community Support Team

Re: Update Common Data Model when SQL Database gets updated

Hi @gpiffaretti,

 

I have moved your posts from PowerApps forum to microsoft Flow forum.

For the questions, yes, currently there is no SQL server trigger provided under Microsoft Flow, and if you would like to add this, please consider to submit an idea in the Flow idea forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

For the workaround, there is database mail feature available under SQL server, please consider to setup the database mail with the corresponding action, then use the "When a New Mail arrives" trigger (with some condition filter) under Microsoft Flow to trigger the update for CDS.

Adding some reference:

Database Mail

Hope this information is helpful.

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 187 members 4,259 guests
Please welcome our newest community members: