Reputation: 8151
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
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.
Upvotes: 1
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