Hi @Kumar, Arun
please check this video to stop the pipeline when no file found https://youtu.be/ISc0-TiU-do
Hope this helps. Pl let us know otherwise, if you have further questions.
Thanks
Suba
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am creating a pipeline activity where Get Metadata checks for the file in a folder and if it exists then it should trigger a dataflow, else stop the activity and not execute the dataflow.
Any suggestions how to do it
So far i have done like below. Check for the file and pass to a If Condition and if TRUE execute Dataflow. The problem is if FALSE (fileNotExists) is getting captured in the variable but activity is not stopping. Also how to get the rowsWritten from the dataflow and pass that to another if condition outside?
Hi @Kumar, Arun
please check this video to stop the pipeline when no file found https://youtu.be/ISc0-TiU-do
Hope this helps. Pl let us know otherwise, if you have further questions.
Thanks
Suba
Hey Arun,
Please put the rest of the pipeline activities in the True Part of the If condition. This will ensure that the rest of the activities will only execute if the condition is True.
To get the RowsWritten from the dataflow and pass that to another activity, please refer to the following thread:
Please don't forget to click on
if you find this helpful.