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:
Equal
Not Equal
Greater Than
Greater Than or Equal
Less Than
Less Than or Equal
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 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:
If the DA Reading Value is greater than or equal to 900, an email
message will be sent. This logic is determined by the connection between the Greater
Than or Equal ToCondition node and the Email Analyst node. Because a logic path is not defined, a value of Yes is
assumed but does not appear on the model.
If the DA Reading Value is not greater than or equal to 900, a Policy Recommendation
record will be created. This logic is determined by the No
logic path specified for the connection to the Create Recommendation node.