Welcome to Microsoft Q&A platform and thanks for posting your query here.
As I understand your issue, after performing the validation if the file is present in today's folder, then you want to execute the adf pipeline . Please let me know if that is not the ask here.
- You can use getmetadata activity to check the presence of file in the folder , make sure to parameterize the foldername as you have to check for current date folder everyday.
- Use If block to validate if getmetadata activity output is true that means if the file exists, then inside if block, use execute pipeline activity to call the pipeline that you have or else use web activity to send out an email with confirmation of file existence.
This approach would be more relevant if you need to check every day at a certain time if the file exists then run a pipeline. If your requirement is to trigger the pipeline immediately when the file arrives, then go for storage event trigger.
Helpful resources:
How to Check if File Exists or Does not Exist in Blob Storage and Send Email in Azure Data Factory
Create a trigger that runs a pipeline in response to a storage event
Event based Triggers in Azure Data Factory
Hope it helps. Kindly click on Accept answer
if you found it helpful and hit yes
for was the answer helpful
survey. Thanks