I created a simple SSIS package to check if a file exists. If the file does not exist then the SSIS package fails. I use SQL Agent job to execute this SSIS package. If the SSIS package fails then the Agent job should fail and send email to alert me the file does not exist.
I manually executed the SSIS package and made sure it failed (no file exists) so I can test the SQL Agent job to see it generated an email alert. Strangely, the SQL Agent job ran successfully for this failed SSIS package. Why?