Hi @SAMB ,
Welcome to Microsoft Q&A Platform. Thank you for posting query here.
Exists filed in GetMetaData will tell you if your dataset is exists or not, Irrespective of Filter by last modified values.
You need to use GetMetadata activity with a dataset pointing to your folder(2021/06/25) and use filter by Last modified values for last 5 minutes and use Child items field. This will help you child items which are modified in last 5 minutes.
In below example, I am trying to take files which are modified in last 5 minutes from "data" folder and then ForEach activity to loop those files and IF activity to check my file(Employees.csv) is there.
Step1: GetMetaData Activity to take files which are modified in last 5 minutes from data folder
Step2: ForEach Activity to iterate your ChildItems
Step3: IF Activity to check "Employees.csv" file exists or not
Step4: IF fail exists then under True use your activities accordingly.
Hope this will help. Thank you
------------------------------
- Please
accept an answer
if correct. 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 email-notifications.