web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow with SQL only wor...
Power Automate
Unanswered

Flow with SQL only works on test

(0) ShareShare
ReportReport
Posted on by 20

Hi, 

 

I connected my SQL server to flow and it seems to be correct. 

My flow is very simple. I just want to send an email when an item is created. I have a second flow that sends an email when an item is modified. 

For when an item is created:

The problem is that nothing happens with the flow when I perform trigger action and tests don´t do anything. Only when I select the test using SQL data it runs the flow but sends an email with the first entry of the data base. 

What could be happening?flow test.PNG

 

Thanks!

 

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

     

    Hi @closcher ,

     

    If the connection is created for the first time, the triggering of the flow may not be particularly timely. This also involves the operating status of the gateway and the impact of the network environment.

    You can try to update the connection. When testing, make sure you add a new record to the specified table and then observe if there are new records in the Flow run history.

    Please wait for some time or refresh the Flow details page and see the results.

     

    Best Regards,

  • closcher Profile Picture
    20 on at

    Thanks for your response @v-bacao-msft . 

     

    When an item is created flow: Test works using SQL server data but again it brings me the first record of the table. I assume the connection is working correctly. 

    I´m adding records into my application (not directly into SQL) and still nothing happens with the flow. 

    SQL test.PNGItem created.PNG

    When an item is modified: nothing happens when I modify items in my application. 

     

    Thanks. 

  • v-bacao-msft Profile Picture
    on at

     

    Hi @closcher ,

     

    Please try to add record in SQL table directly and check if Flow can be triggered normally.

     

    Best Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard