Parameter comparison
To compare the values of two parameters that are selected in a workflow definition, use a parameter comparison. Both parameters must have the same data type.
This table shows the syntax of a parameter comparison:
| Syntax | [Parameter1][Operator][Parameter2] |
|---|---|
| Parameter 1 | One of the parameters that are defined in the workflow definition. The parameter can be of these types:
|
| Operator | Comparison operator; depends on the parameter type. |
| Parameter 2 | One of the parameters that are defined in the workflow definition. The parameter is of the same type as Parameter 1. |
| Evaluation | The evaluation result is True or False. |
Example
This table shows an example of a parameter comparison:
| Parameter 1 | OrderedQuantity |
|---|---|
| Operator | < |
| Parameter 2 | ShippedQuantity |
The evaluation result is True when the comparison between the values of the two parameters is True.