Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
abpgupta
Responsive Resident
Responsive Resident

Trigger Data Pipeline

Hi All

 

Is it possible to run a query using Data Pipeline and get output value to decide to trigger next steps or not?

 

Thanks for any inputs.

1 ACCEPTED SOLUTION

NandanHegde_0-1713513383441.png

Above would be the flow wherein you would query the control table from the database via lookup activity

Then leverage IF activity and do your comparison from the lookup activity output

NandanHegde_1-1713513460614.png

and based on true/false output add the necessray actions within IF activity

View solution in original post

3 REPLIES 3
NandanHegde
Super User
Super User

nCan you please provide some additional details as to what you mean by run a query? Do you wish to run a query on a database? If yes,then you can leverage lookup/script activity to query the database and leverage that output within an IF activity to determine to trigger other aspects if the condition matches

Thank you @NandanHegde  for response!

Yes, I have a control table to check when a load is finished in Database and would like to query to check if load is done for day and then based on value compared to trigger time of pipeline, I would like to invoke next steps. 

is there any example to refer to for setting up this?

 

 

NandanHegde_0-1713513383441.png

Above would be the flow wherein you would query the control table from the database via lookup activity

Then leverage IF activity and do your comparison from the lookup activity output

NandanHegde_1-1713513460614.png

and based on true/false output add the necessray actions within IF activity

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayFBCUpdateCarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.