Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Operation Service Template Developer's Guide


3.2.4 Overview of subsequent step conditions

You can set whether to execute a subsequent step based on the return value of the previous step.

In most situations, the return value of the step is the same as the return value of the plug-in. For details about the relationship between the return values of steps and plug-ins, see 4.3.12 Relationship of command and script return values to the return values of plug-ins and steps.

Types of subsequent step conditions:

When the return value of the plug-in is equal to or less than the judgment level, execute subsequent steps

The following shows examples of setting judgment values and warning values:

Figure 3‒3: When judgment value is 0 and no warning value is set (default)

[Figure]

  • If the return value is equal to or less than the judgment value, the subsequent step is executed (normal termination).

  • If the return value is greater than the judgment value, the subsequent step is not executed (abnormal termination).

Figure 3‒4: When judgment value is 6 and warning value is 2

[Figure]

  • If the return value is equal to or less than the judgment value, the subsequent step is executed (normal termination). However, if the return value is equal to or greater than the warning value and equal to or less than the judgment value, the subsequent step is executed and the task terminates with a warning. In this case, the task status appears as Failed (after the task has finished) or Abnormal Detection (while the task is still running) to indicate that the warning value was exceeded. In the Task Details dialog box, the step is recorded as having terminated with a warning. When you specify a warning value, specify a value that is equal to or less than the judgment value. You do not need to specify a warning value.

  • If the return value is larger than the judgment value, the subsequent step is not executed (abnormal termination).

Always execute subsequent steps

Subsequent steps are always executed, regardless of the return value of the plug-in.

Never execute subsequent steps

The step ends abnormally regardless of the return value of the plug-in. Subsequent steps are not executed.

Plug-ins for which subsequent step conditions cannot be set

You cannot specify subsequent step conditions for plug-ins such as flow plug-ins and test value plug-ins that control a flow.