This component compares a value to another value to determine if they are equal or not.
[Insert component icon Image file here.]
Definition of component input value or values
|Input Value Name||Input Value Data Type||Req'd||Example Format||Explanation|
|Data Type||Type||Yes||Number (integer)||The type of data that will be compared for equality.|
|Variable Name||String||Yes||VariableToCheck||The name of the variable whose value we are interested in evaluating.|
|Compare To||Variable||Yes||Value: 0||The value to which the variable from "Variable Name" will be compared. This may be a constant value, another variable in the current model or an embedded dynamic model.|
Definition of component output value or values
Determine if an array has hit a limit
In many instances, a running process may collect a running accumulation of error or warning messages which are only sent when a certain number have been accrued. For example a system administrator might not want to receive warning messages until there are more than 10. If the warning messages are stored in a collection called "Warnings" of type text, then set up this component as follows:
- Data Type = Number (integer)
- Variable Name = Warnings.Count
- Compare To = Value: 10
When the Count is equal to 10, the component will exit on the "equals" path where a component might email the list to the administrator and reset the list. Otherwise, the component will exit on the "not equals" path and continue until the next warning is encountered.
[Describe the use case. Insert screen shots or package files. Insert a description of how the settings are configured. Insert additional information about the use case that you are submitting.]