Sorry, I am a newbie to Automator and have searched around for solutions, but there's something I'm conceptually not understanding.
What I'm trying to do:
1 - I have Excel cranking out reports, daily, and saving a PDF to a folder
2 - I created and Automator workflow, that is supposed to email this report out.
This currently works as desired
But...
If the file is not there, it should not send an email, that day.
What I've done:
A - Finder Finder Items
Search = <my folder>
If All of of the following are true
Name contain <my file name>
Date created = is today
Kind is PDF
B - Get Folder Items
If it finds the file, the log shows me:
"Find Folder Items completed" and
"Get Folder Contents completed"
But if it doesnt find the file, I get
"Get Folder Contents completed - 1 warning"
At that point I want to stop all further actions
It seems like I need to insert an Apple script to determine is a file was found.
If yes, continue
If no, quit
How do I proceed?
Thanks for your help
What I'm trying to do:
1 - I have Excel cranking out reports, daily, and saving a PDF to a folder
2 - I created and Automator workflow, that is supposed to email this report out.
This currently works as desired
But...
If the file is not there, it should not send an email, that day.
What I've done:
A - Finder Finder Items
Search = <my folder>
If All of of the following are true
Name contain <my file name>
Date created = is today
Kind is PDF
B - Get Folder Items
If it finds the file, the log shows me:
"Find Folder Items completed" and
"Get Folder Contents completed"
But if it doesnt find the file, I get
"Get Folder Contents completed - 1 warning"
At that point I want to stop all further actions
It seems like I need to insert an Apple script to determine is a file was found.
If yes, continue
If no, quit
How do I proceed?
Thanks for your help
Last edited: