Need guidance with master-child pipeline orchestration

Amit Mula 21 Reputation points
2020-08-13T20:16:21.837+00:00

I am trying to create a pipeline which will execute other child pipelines. I want to control the execution of the child pipelines based on input parameters as shown in the screenshot below. If any of the Skip_pipeline# is passed as true, the particular pipeline should be skipped. What is best way to achieve something of this sort in ADF ?

17504-screenshot-2020-08-14-at-12335-am.png

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,640 questions
0 comments No comments
{count} votes

Accepted answer
  1. KranthiPakala-MSFT 46,642 Reputation points Microsoft Employee Moderator
    2020-08-13T21:05:27.63+00:00

    Hi @Amit Mula ,

    Welcome to Microsoft Q&A platform and thanks for using this forum.

    You can use an If condition activity and write a condition to check if the input parameter value is true or false. If the condition is true then you can have your Execute pipeline activity in the true path which would execute your child pipeline. You can follow the same logic for subsequent Execute pipeline activities as shown in below GIF.

    Sample dynamic expression to check the condition: @equals(pipeline().parameters.Skip_pipeline1, bool(1))

    17520-ifconditionbool.gif

    Hope this helps. Do let us know if you have further query.

    ----------

    Thank you
    Please do consider to click on "Accept Answer" and "Upvote" on the post that helps you, as it can be beneficial to other community members.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.