Hi
When I want to connect to a SQL SERVER using on premise data gateway some views can be called from Power Automate but a view I have written doesn't seem to appear. I can see it in SSMS and I am using the same credentials. I have seen another post that said I have tried to add the view by entering the Custom Value and then add the dynamic content to the send email but the flow doesn't run when tested.
I saw another post which said:
"
1. Make sure you have the right permission.
2. Set that view as custom value and enter the view name. Save the flow. Press the back menu. Edit the flow again. Generally it should pick up the value from the dropdown list which you entered manually."
However, when I do this I lose the Dynamic content. Can anyone help as I am getting confused
Hi @alex_murphy
The view issue was refresh and it taken some time. Unfortunately you won't be able to track which particular field is modified by using trigger When an item is modified. You probably need another replica of table to do this.
Thanks
Hi @abm
That works and I can now see the view but how do I continue to send an automated email based on modification of a field. I am trying to send out a notification that something specific has changed on a particular record.
Thanks for your help
Hi @alex_murphy
I did tested this now and it is working as expected. Could you create a new flow and try adding the SQL connector, set the gateway, then add the Get Rows action step. Let's see whether you can see the view or not.
Thanks