Synapse pipeline trigger one pipeline AFTER another in Azure Pipelines

NC 31 Reputation points
2022-04-21T07:25:18.94+00:00

Hi,
I would like to create a task chain in Azure Synapse but I can not find that solution in the internet or in any documents from Microsoft.
I have two synapse workspaces A and B. Workspace A will copy files to data lake and Workspace B will read those files from data lake and process them. I assume that in this step I can use "Event based trigger" and specify the container name. Please correct me if I am wrong. I assume that this trigger will read all the new files that created in the container that I specific earlier.

Then In work space B, I have 5 pipelines that I want to create a task chain trigger that runs sequentially. How can I do that?

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,378 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vidya Narasimhan 2,126 Reputation points Microsoft Employee
    2022-04-21T16:48:53.7+00:00

    @NC yes, you can trigger a Synapse pipeline based on a Blob storage event like ‘blob created’ . For every new blob created matching the pattern/configuration that you have specified, a new event is generated that will trigger your pipeline . More details here https://learn.microsoft.com/en-us/azure/data-factory/how-to-create-event-trigger?tabs=data-factory
    To run Synapse pipeline sequentially, one of the way is to add the pipelines as an activity and then define whether the pipeline waits for another dependent pipeline to execute using waitoncompletion parameter https://learn.microsoft.com/en-us/azure/data-factory/control-flow-execute-pipeline-activity


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.