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

SQL Server Trigger - When Item is Modified - state change

Hi guys

 

I want to build a Purchase Order approval flow but I am struggling to get off the starting line.

 

This is the scenario:

Users are releasing Purchase Orders in Dynamics NAV 2017, which in SQL changes the Status field of the Purchase Order from Open to Pending Approval. I want the flow to kick in when the status changes from Open to Pending Approval.

 

Is this possible using the SQL Server trigger? Otherwise I am thinking of running a reccuring flow but I think I would have the same issue about monitoring a single column.

 

Thanks for your help.

 

Lukas

1 REPLY 1
Super User
Super User

Re: SQL Server Trigger - When Item is Modified - state change

Hi @lkaspar 

 

SharePoint lists have that feature but not SQL Server. 

 

You're correct in the approach. Create a Scheduled flow that queries the database and gets the values that you want to parse based on the criteria. You can create a stored procedure with all this logic. This way, you can refine your queries and logic on the database side without the need to change the flow.

 

I know it's not the answer you're looking for, but I'm sure you'll be able to get the same result with this approach. If you need further help, please let me know, and we'll try to figure this out.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,314)