How to capture/log source & target rowCount in Azure Data Factory Pipelines

Synergy 1 Reputation point
2021-03-17T18:31:14.407+00:00

Hi Team
I've created a Azure Data Factory pipeline which copies data from csv to Azure Sql db. I've configured the custom loggings. I've one piplelines with data flow task. And another Execute pipelines which executes the inner data flow task or the 1st pipeline. I've configured the custom log capture through stored procedure on top of the Execute pipeline. Now the logs are working fine but I want to capture the source and target rows i.e. rowcount in my log table. I tried with @activity('ExecutePiepline1').output.rowsCopied but it didn't work says the property doesn't exist. Kindly help me with correct expression.

Kind regards,
Mohammed

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

1 answer

Sort by: Most helpful
  1. Saurabh Sharma 23,676 Reputation points Microsoft Employee
    2021-03-18T23:57:13.71+00:00

    @Synergy Thanks for using Microsoft Q&A !!
    Unfortunately, Execute pipeline Activity cannot return any output other than the Pipeline's name and Run Id of the executed pipeline. This feature request has already been shared on Uservoice and under review by the products team which you can upvote.

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

    1 person found this answer helpful.