It is simple to set which exit code means success. But I am hoping to get the process exit code and use it to differentiate between different types of errors.
Is this possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the ExecValueVariable property of the Execute Process task. It’s documented in the programming reference for SSIS, but you can set it directly in the Properties window for the task. It captures different values for different task types; for the Execute Process task it captures the return code from the process.