Evaluate exit code of script to determine failure
// Execute something that returns exit code 666
wait cmd.exe exit 666
// Task should fail now because exit code is not 0 or 3010. Exit code should also be returned in report for action instance.
continue if {exit code of action = 0 or exit code of action = 3010}