Search code examples
azure-data-factory

Azure Data Factory - get input from copy data activity


How do I get the input of a copy activity?

I am using a copy activity, that executes a stored procedure, I want to retrieve the parameters that have been passed.

I can see in the JSON that it clearly stores the values, but how do I go about retrieving them?

Pipeline Copy Data

Example of parameters that are passed;

Copy data input activity


Solution

  • Currently, in ADF, there is no dynamic content for getting the input of the activity. You can see when I tried the below dynamic expression, I got the error saying that there is no property like input.

    enter image description here

    You can raise the feature request for that here.

    As an alternative, try to get it using Activity Runs - Query By Pipeline Run REST API with a web activity.

    For that, follow this approach by @KarthikBhyresh-MT.