Quantcast
Viewing all articles
Browse latest Browse all 2021

Can I set additional success codes for script tasks?

I need a solution

I have some script tasks that I am using in jobs and using branching so if return code is 0 it does one thing but if 10 it does something else or it goes to a failure if something else. 

Everything works fine but anything other then 0 is seen as failure when its really not but more of a decision tree, for example 

script runs to check OS, if OS = win7 then run job 1 if os = win10 run second job, if OS not detected as either then error and stop.

Its more to prevent my lower level techs from saying a job is failing because they are seeing red then anyhting.

0

Viewing all articles
Browse latest Browse all 2021

Trending Articles