Comparison nodes are Condition nodes that you can use to compare two input values using the comparison operator that corresponds to the name of the node. The following comparison nodes are available:
Each comparison node requires two inputs, which must be single values. For Equal and Not Equal nodes, inputs can be any type of data. For the remaining comparison nodes, inputs must be numeric or time-based values.
The output of a comparison node is the logical result of the comparison (i.e., yes or no). The output of a comparison node can be used only as an input to Case or Logic nodes. For all other successor nodes, the output is used by the connection to the successor node in order to determine if the successor node will be executed.
You can use the Properties window for a connection starting at a comparison node to configure a logic path for the connection. If you do not configure a logic path for a connection, a Yes path is assumed but does not appear on the model. The GE Digital APM system will execute only the branches of a policy model where the logical result of the comparison matches the logic path defined for the corresponding connection.
The Properties window for each comparison node contains the items that are described in the following table.
Item |
Description |
Notes |
---|---|---|
First value |
The input value that will be compared to the second input value. |
You can select |
Operator symbol |
The symbol that corresponds with the comparison operation that is performed by the node. |
None |
Second value |
The input value that will be compared to the first input value. |
You can select |
Display list |
Determines the label that appears on the node in the policy model. |
This list does not appear if you enter a constant in the corresponding section. |
The following example illustrates how you can use a comparison node to compare the value in a field of a predecessor node to a constant value. Consider the following nodes and connections.
The following image shows what the Properties window looks like for the Greater Than or Equal To node.
Based on the connection properties, the following logic will be applied when the policy is executed:
Copyright © 2018 General Electric Company. All rights reserved.