Hi @DataCoder
Thank you for the question and using Microsoft Q&A platform.
To trigger an ADF pipeline automatically whenever new or updated data is available in a specific table within the SQL database, you can use the "Event-based trigger" feature in ADF.
Here are the high-level steps to set up an event-based trigger in ADF:
- Create a new trigger in your ADF pipeline and select "New/Edit" under "Trigger type".
- Select "Event-based trigger" as the trigger type.
- Choose the SQL Server you want to monitor for changes.
- Select the table you want to monitor for changes.
- Choose the type of change you want to monitor for (insert, update, or delete).
- Set up the conditions for the trigger to fire. For example, you can set a threshold for the number of rows that need to be inserted or updated before the trigger fires.
- Save the trigger.
Once the trigger is set up, it will monitor the specified table in the SQL database for changes. When the conditions for the trigger are met, it will automatically trigger the ADF pipeline to run.
To detect the availability of new or updated records in the SQL database, you can use the "Lookup" activity in ADF. The "Lookup" activity can be used to query the SQL database and check for new or updated records. You can then use the output of the "Lookup" activity to determine whether the trigger should fire.
https://learn.microsoft.com/en-us/azure/data-factory/how-to-create-custom-event-trigger
https://learn.microsoft.com/en-us/azure/data-factory/how-to-create-event-trigger?tabs=data-factory
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.