failure activity

arkiboys 9,706 Reputation points
2021-08-06T06:11:02.893+00:00

Hello,
The copy activity is connected to a dataflow
How is it possible to create a failure activity after the copy activity so that if the copy activity fails, a .parquet file is populated with some error information?
For example
Thank you

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

Answer accepted by question author
  1. Nandan Hegde 36,716 Reputation points MVP Volunteer Moderator
    2021-08-06T06:42:56.687+00:00

    Hey,
    You can use the below link to dump your error msg in file:
    https://learn.microsoft.com/en-us/answers/questions/493585/write-pipeline-variable-value-to-csv-or-text-file.html

    using activity('Act_3').error.message

    121079-err.png


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.