Azure Data Factory copy activity fails

arkiboys 9,686 Reputation points
2024-02-27T12:19:32.1233333+00:00

Hello,
My copy activity reads from a directory. if the file is not present in teh directory then it fails. How can I prevent this failure so that the pipeline continues to the next activity? because in the next activity I have a if condition thank you

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

1 answer

Sort by: Most helpful
  1. Nandan Hegde 32,026 Reputation points MVP
    2024-02-27T12:43:47.16+00:00

    Hey, You can use Get meta data activity and its property of IsExists. If file exists is True, then proceed with True else skip


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.