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 Automate
Unanswered

SQL trigger from View

(1) ShareShare
ReportReport
Posted on by 90

ok so I finally got my tables to work in flow, barely... I have to manually type them all in because Flow won't retrieve the list of tables...

 

anyways I'd like to use a vew I've created as a "when item is created" trigger. the view includes a few more detail columns that are necessary for the remaining actions.

 

I have typed in the view as a table in the trigger, and when it feels like connecting to my gateway, it pulls the columns in for later in the flow, but I haven't had it work yet and am curious if it's even possible before wasting too much of my time troubleshooting.

 

Thanks

-Aaron

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

    Hi @Shegs,

     

    Could you please share a screenshot of your flow's configuration?

    Do you want to fire your flow when a new item is created in your SQL view within your flow?

     

    The "When an item is created" trigger of SQL connector is used to detect if there is an new item is created in your SQL table currently. If you want to detect if there is a new item is created in your SQL View using the trigger, I afraid that there is no way to achieve your needs in Microsoft Flow currently.

     

    If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    Best regards,

    Kris

  • Shegs Profile Picture
    90 on at

    as we have pretty good data separation, views work better for us so we can view sales records and the customer information in one layout. I feel like I have a grasp on how to make some of these work in the script, I was having issues finding out why my tables weren't triggering. I finally found the requirements for an SQL table to become a trigger, and they make sense (they have to have a key field and a rowversion field) (I have a feeling these column identities would be lost in a view) 

    While most of these tables were made long before rowversion was a thing, I will have to consider implementation. until then, I will just use a scheduled trigger that pulls rows from a view.

     

    Thanks

    -Aaron

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard