The script runs perfect when there is at least 1 "schematic" selected to email. When there is nothing selected I receive the error message. How can I avoid the message and branch out of the script.
Use an If step with an expression such as If [Not IsEmpty (Data::Schematic) ] to skip over the steps used to export and attach the file.
Retrieving data ...