Forum Discussion
Rohan_Das2000
Jul 05, 2023Copper Contributor
Azure Pipeline getting error during file filtering
How to filter the files from container1 to container2, the files which are above 0kb must be transfer to container2, using if else condition.
I have used Get metadata1 -> For Each -> Get metadata2-> If else condition -> copy activity...
but it's not working...
how to add the property as 'size' in arguments?
Error getting:
The expression 'greater(activity('Get Metadata2').output.size,0)' cannot be evaluated because property 'size' doesn't exist, available properties are 'effectiveIntegrationRuntime, executionDuration, durationInQueue, billingReference'.
- Shubham_Kumar_9798Copper Contributor
Can you try using below expression for filtering:-
greater(activity('Get Metadata2').output.childItems.size,0)
Please confirm if that works.
Thanks!