Hello @Poel van der, RE (Ron) ,
Thanks for posting queries in Microsoft Q&A Platform.
You can consider using dataflows and add your source file as source transformation and then you can get count of rows using aggregate transformation and then finally use cache sink and write output to activity. There by in pipeline you will get count and make a decision to perform copy or not.
Kindly check below gif where it shows how to output count to activity.
Kindly check below video too where its explained in detail about writing output from dataflows to activities.
Write Cache Sink to Activity Output in Azure Data factory
Hope this helps. Please let me know if any further queries.
----------------
- Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification