Вы можете выполнить мои шаги:
1. Создать набор данных Source / Sink с параметром SourceFile / SinkFile:
Исходный набор данных:
![enter image description here](https://i.stack.imgur.com/F2BH6.png)
Sink dataset:
![enter image description here](https://i.stack.imgur.com/gRhFA.png)
2. Set pipeline parameter 'filename':
![enter image description here](https://i.stack.imgur.com/QKo3A.png)
3. Get metadata settings:
Get metadata 1:
![enter image description here](https://i.stack.imgur.com/BePJF.png)
Get metadata 1:
![enter image description here](https://i.stack.imgur.com/rVYSx.png)
4. If condition settings:
Using bellow expression to filter: if the file is exist in Source and not in Sink:
@and(equals(activity('Get Metadata1').output.exists,false),equals(activity('Get Metadata2').output.exists,true))
![enter image description here](https://i.stack.imgur.com/i6jMX.png)
5. Set the true active:
If the file is exist in Source and not in Sink, copy the file to Sink:
введите описание изображения здесь