V11 SP8

Failing a Job If the Pre or Post Process Fails

By default, if a pre or post process fails (the script returns an exit code not equal to 0), the job is marked as pending. Instead of marking the job as pending, you can configure the job to fail if a pre or post process fails.


  • To the CommServe computer, add the JMFailJobOnScriptFailure additional setting as shown in the following table.

    For instructions on adding additional settings from the CommCell Console, see Add or Modify an Additional Setting.

    Property Value
    Name JMFailJobOnScriptFailure
    Category CommServDB.GxGlobalParam
    Type INTEGER
    Value 1