Take the 2-minute tour ×  I am editing an Automator workflow
that currently takes several stored spreadsheets and emails them
to different individuals. The spreadsheets are stored on a
Windows server and are created by a separate process not germane
to this discussion. But once they're created, I want the user to
be able to click on this action and have the mail messages
(usually 8 of them) pop up to be sent.  All this works fine, as
long as the Mac's connection to the server exists. If the server
connection isn't present, things fail silently, because the
files aren't there.  I've looked through all the possible steps
you can add in Utilities, Other, and Finder (and all the rest)
and I can't find any way for it to do something like e.g. 'Skip
this step if the variable ServerConnected is not null'.  I can
automagically connect to the server with an Automator action,
but if it's already connected, I get another connection, which
causes me trouble later on...unmounting unmounts the first one
and the server stop