Issue with Chaining activities

Kirna Reddyvari 21 Reputation points
2021-08-12T13:51:55.507+00:00

We have situation of chaining the activities and it doesn't work in below case:

  1. Web1 success is linked to Web2
  2. Web1 failure is linked to SetVariable1
  3. Web2 success is linked to Web3
  4. SetVariable1 success is also linked to Web3

Issue: In any of the condition or run path, Web3 is never reached
In the below situation, as SetVariable1 is a success, I assume it should execute Web3, but it didn't.

How can we accomplish this?122814-screenshot-2021-08-12-095036.png

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

Accepted answer
  1. Vaibhav Chaudhari 38,686 Reputation points
    2021-08-12T16:00:24.993+00:00

    Web3 will run only when both Web2 & Set Variable1 are successfully run.

    You could try copying Web3 activity and use it like below

    122769-image.png

    ----------

    Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. KranthiPakala-MSFT 46,442 Reputation points Microsoft Employee
    2021-08-16T00:41:20.987+00:00

    Hi @Kirna Reddyvari ,

    Yes, as anonymous userChaudhari mentioned, your design indicate that Web3 activity to be triggered if and only if both Web2 and Set Variable 1 are successful. If any either of their state is not success then the execution chain breaks and your Web3 won't get executed.

    You can try the solution suggested by anonymous userChaudhari which suffice your requirement.

    For better understanding of conditional paths of data factory activities please refer to below blogs which has a detailed explanation of conditional path behavior.

    1. Understanding Pipeline Failures and Error Handling
    2. Understanding Pipeline Failures and Error Handling 2

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

    ----------

    Please don’t forget to Accept Answer and Up-Vote wherever the information provided helps you, this can be beneficial to other community members.