Blue Clouds
Blue Clouds

Reputation: 8151

Azure Datafactory trigger based on parameter

We have an Azure Data Factory pipeline set for many colours (blue, green, yellow). We want to trigger the pipeline for a particular colour(eg: blue) based on certain conditions.

eg: Pipeline need to execute

How to achieve that?

Upvotes: 0

Views: 391

Answers (2)

Steve Johnson
Steve Johnson

Reputation: 8660

I agree with Nandan. Just for some addition, it seems you have many colors. You can use this expression @string(dayOfMonth(utcnow())) in Switch activity. enter image description here

Upvotes: 1

Nandan
Nandan

Reputation: 4925

Rather than creating parameters in the ADF, it would be better if you create a variable. use Set Variable activity to set it to corresponding color based on condition that if day=3 then blue .... And use that variable in remaining activities.

Upvotes: 3

Related Questions