codelifevcd
codelifevcd

Reputation: 317

How to trigger specific Execute pipeline activity?

I have a main pipeline in Azure Synapse. This main pipeline only contains several "Execute pipeline" activities.

I want to trigger automatically 2 of these activities and not the other.

I tried "If condition" with boolean : if true trigger automatically the execute pipeline that has true parameter, but nothing happened.

What is the way to do it ?

Upvotes: 0

Views: 491

Answers (1)

Rakesh Govindula
Rakesh Govindula

Reputation: 11329

I want to trigger automatically 2 of these activities and not the other

You cannot automatically trigger any activity in ADF or synapse pipeline. You need to use if activity or switch activity here as per your requirement like below.

Give your Boolean condition in the if activity expression.

enter image description here

Inside the True activities of if activity, give your execute pipeline activities.

enter image description here

You can keep these in serial or in parallel as per your requirement.

Put the remaining execute pipeline activities in the False activities of if activity so that they won't execute when your Boolean value is true.

You can use Switch activity as well but you need to change the switch activity expression as per your requirement.

Upvotes: 0

Related Questions