ForEach inner activity fails but not ForEach activity itself!

Andris Veidemanis 96 Reputation points
2020-08-10T11:26:18.017+00:00

I have a pipeline with a single ForEach activity which consists of one Copy activity.

This ForEach activity usually iterates over seven items. Now and then one of ForEach inner Copy activities fails but not the ForEach activity itself.
This makes entire pipeline to be set with a "Succeeded" status.

Is this behavior expected or this is a bug?

Thanks!

Pic to illustrate the problem:
16774-2020-08-10-14-24-12-window.png

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

Accepted answer
  1. Andris Veidemanis 96 Reputation points
    2020-08-10T13:01:28.357+00:00

    currently For each activity doesn't care if inner activities failed or successful.

    No, it does!

    :)

    16827-2020-08-10-15-57-03-window.png

    It seems that my problem lies with inner Copy activity failing to retry itself and being left in a bizarre state which is ignored by ForEach activity when deciding in what state it ended.


1 additional answer

Sort by: Most helpful
  1. Vaibhav Chaudhari 38,601 Reputation points
    2020-08-10T12:28:17.367+00:00

    "Ability to fail ForEach if any inner activity fail" should be taken as improvement. In my opinion, currently For each activity doesn't care if inner activities failed or successful. You can post this as a feedback (link given in below similar issue)

    Please see similar issue reported - On Failure Activity Reporting Overall Success

    ===============================================
    If the response helped, do "Accept Answer" and upvote it -- Vaibhav

    1 person found this answer helpful.
    0 comments No comments