Share via

copy activity validation error

arkiboys 9,711 Reputation points
2021-09-10T06:52:55.557+00:00

Hello,
Question regarding capturing error message...
1-Copy activity gets data.
2- from the above activity, there is a failure connection to copy activityError which is to log error message.
3- In copy activityError, in additional column, I have put:
Name Value
ErrorMessage @activity('Copy activity1').Error.Message

The above works fine

Now, I have added a for each loop around the copy activity1
but now, when I validate the pipeline, the copy activityError becomes red on the Value expression of the ErrorMessage and the validation error is:
The output of activity 'copy activity1' can't be referenced since it is either not an ancestor to the current activity or does not exist

Any suggestions?

Thank you

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.


Answer accepted by question author

arkiboys 9,711 Reputation points
2021-09-13T06:33:25.31+00:00

Solved. Type issue

Was this answer helpful?


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.