Hitachi

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


4.3.13 Procedure for using the return value of a command or script as a flow branching condition (for values outside the 0 to 63 range)

When a command or script executed in a plug-in returns a value outside the 0 to 63 range, you can use the return value as the branch condition for a flow by following the procedure below.

To use the return value of a command or script as the branch condition of a flow:

  1. When creating or editing a plug-in, specify the Script option for Execution Mode in the Edit Remote Command dialog box.

  2. Create a script that outputs the return value of the command it executes to standard output.

  3. In the Edit Output Filter dialog box, enter a regular expression that assigns the return value of the command or script output to standard output to an output property of the plug-in.

  4. Configure output property mapping so that the value of the plug-in output property assigned in step 3 is assigned to a service property (variable).

  5. Configure a judge value plug-in to judge the value of the service property (variable) assigned in step 4.

Related topics