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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SQL - When an item is ...
Power Automate
Unanswered

SQL - When an item is created not triggering

(0) ShareShare
ReportReport
Posted on by 14

Hi,

 

I've a flow that should trigger when a new item in a table is created and call a store procedure. I had to build the flow like this because I'm using Powerapps and it doesn't support triggers in the database. My table, 'Colaborador', has 208 records and the flow only triggers when I use the Test option while I'm on edit mode. Has anyone encountered an issue likes this?

 

Capture10.JPG

 

Thank you,

Daniel

Categories:
  • Rahber Profile Picture
    1,935 on at

    There can be multiple reasons to it one being how the value is being inserted in the DB. Couple of questions so we can better guide you?

     

    1) where is the SQL hsoted?

    2) What actions are being performed before the data is inserted into table? 

     

    https://docs.microsoft.com/en-us/connectors/sql/#known-issues-and-limitations : When an item is created [DEPRECATED]/When an item is created (V2) triggers use latest inserted row's identity column value as a threshold(trigger state) in order to identify newly inserted rows later.The logic assumes every new row's identity has to be bigger than the previous one. Therefore, in case identity sequence is reset for a table due to explicit t-sql command or table truncation, trigger logic will skip new rows for existing flow.

     

    Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.

    Thanks,
    Rahber

  • DanielSantos Profile Picture
    14 on at

    Hi @Rahber ,

     

    1) I'm using Azure SQL and 2) the only action it's the insertion of a new row but I think that the problem it's related with what you've described about the new row's identity. I've created the flow once again and appears to be working now.

     

    Thanks,

    Daniel

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 317 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard