cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gpiffaretti
Regular Visitor

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
v-micsh-msft
Community Support
Community Support

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
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Users online (2,665)