A Case node is a node that you can use in a cognition to set up scenarios in which the output values of the node are changed automatically based on specific input values. Throughout this documentation, we refer to each defined scenario as a Case.
Each Case within the Case node has one Case value and one output value. If the input value for the Case node matches a Case value, the GE Digital APM system will use the corresponding output value defined for that Case.
There are two types of Cases in the Case node, which we refer to as the If Case and the Default Case throughout this documentation:
The Properties window for a Case node contains the items that are described in the following table.
Item |
Description |
Notes |
---|---|---|
If box | Specifies the field that provides the input value(s) you want to compare to each Case value in the Equals box in order to determine the output(s) of the Case node. | None |
Equals box | Specifies the Case value of the If Case to be executed when matching the input value from the field that was chosen in the If box. | You can use the |
Use box | Specifies the output for the corresponding Case value found in the Equals box. | None |
Default box |
Specifies the output of the Default Case. The Default Case will be executed if the input value from the field that was chosen in the If box does not match any Case values defined in the Equals boxes. |
You cannot delete the Default Case from the Case node. |
Consider the following nodes and connections in which values from a numeric-based Order Priority input field are converted to text by the Order Priority Case node. The values are then written to the Event Priority output field.
As shown in the following image, you can use the Properties window of the Order Priority Case node to indicate that the output value of the Case node will differ depending on the values associated with the Order Priority input field.
In this example, the following output values would be produced by the Case node:
Input Value from Order Priority Input Field |
Output Value from Order Priority Case Node |
---|---|
1 | Low |
3 | High |
7 | Unknown |
1 | Low |
2 | Medium |
Copyright © 2018 General Electric Company. All rights reserved.