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

SQL Server 2017 On-Prem via Gateway - trigger "When an item is created" doesn't work

Hello,

 

I'm trying setup Flow using SQL trigger "When an item is created" and it doesn't work. Looks like trigger doesn't collect information about new strings that appears in the database. I can perform a test and it passes succesfully: flow reads information from database but only first string.

 

Also I have additional Flow using the same database and same gateway with trigger "When an item is modified" and it works without any issues.

 

How to fix it?

1 ACCEPTED SOLUTION

Accepted Solutions
kos
Regular Visitor

Thank you!

 

I added IDENTITY column to the table and everything works perfectly now:

 

ALTER TABLE dbo."table_name"
add ident INT IDENTITY;

View solution in original post

2 REPLIES 2
Brad_Groux
Community Champion
Community Champion

The SQL connector has an extensive list of issues and limitations that you may want to review, and you may also wantto review the On-premise gateway troubleshooting documentation.

Outside of that, if you could provide an expanded screenshot of your Flow and steps, and of any detailed error messages you're receiving we could likely better assist you.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

kos
Regular Visitor

Thank you!

 

I added IDENTITY column to the table and everything works perfectly now:

 

ALTER TABLE dbo."table_name"
add ident INT IDENTITY;

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,770)