How to wait for multiple activities before executing another activity (Many To One Trigger) in Azure Data Factory

Sampat, Varun 236 Reputation points
2021-01-13T16:38:35.887+00:00

Hello,

I am currently working on a pipeline in Azure DF, and more specifically, was trying to optimize a part of a pipeline. Currently I have the following pipeline:
56282-screenshot-2021-01-13-at-113116-am.png

However, the first two are independent, and I would like something like this:
56129-screenshot-2021-01-13-at-113151-am.png

I am unsure of how the 'on success' triggers work in the latter case; will the 'execute python script' activity get triggered if either one of the prior activities are done, or will it get triggered when both are done? I found a post that deals with the exact problem, but it mentions that you must change the JSON files manually. (Link for the post: https://social.msdn.microsoft.com/Forums/en-US/8b047395-ae41-4924-8e5a-426e56f826af/waiting-for-multiple-copy-activities-to-complete-before-starting-next-activity?forum=AzureDataFactory )

Thank you in advance!

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

Accepted answer
  1. Nasreen Akter 10,811 Reputation points Volunteer Moderator
    2021-01-13T17:13:27.037+00:00

    Hi @Sampat, Varun ,

    activity "execute python script" will run only when both dependent copy activities will successfully complete. :)

    ----------

    If the above response helped, please don't forget to "accept the answer" and "up-vote" the same! Thank you!

    8 people 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.