Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

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.



Super User II
Super User II

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.


Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (5,950)