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:
-
When creating or editing a plug-in, specify the Script option for Execution Mode in the Edit Remote Command dialog box.
-
Create a script that outputs the return value of the command it executes to standard output.
-
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.
-
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).
-
Configure a judge value plug-in to judge the value of the service property (variable) assigned in step 4.
Related topics
-
Judge value plug-in in the manual Job Management Partner 1/Automatic Operation Service Template Reference