6.4.8 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 Platform.
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 branch by property value plug-in (which is a basic plug-in) to judge the value of the service property (variable) assigned in step 4.
Operation result
The return value is set as the branch condition for a flow.