Share via

Azure Data Factory copy activity fails

arkiboys 9,706 Reputation points
Feb 27, 2024, 12:19 PM

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.
11,443 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Nandan Hegde 34,941 Reputation points MVP
    Feb 27, 2024, 12:43 PM

    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.