Previous Next
Opalis Integration Server > Foundation Objects > Utilities > Compare Values

Compare Values
The Compare Values object will compare two text values or two numerical values to determine if they are equal.
How it is used
The Compare Values object can be used to test error messages or numbers against known issues and automatically route the Policy to the appropriate object.
Configuration
When configuring the Compare Values object you need to choose what type of values you are comparing.
To select the type of the values that you will be comparing:
1.
Open the Compare Values object for editing.
2.
Click General.
3.
Select the Type that matches the action that you want to take:
Compare Strings - see details below.
Compare Numeric Values - see details below.
Compare Strings - Details Tab
 
Test that
Type the first text, select how you want the first to be compared to the second text, and then type the second text. When using the matches the pattern or does not match pattern comparisons, use the wildcards '?' and '*' to specify the pattern.
Case sensitive test
Select to cause the comparison to be case sensitive.
Compare Numeric Values - Details Tab
 
Test that
Type the first number, select how you want the first to be compared to the second number, and then type the second number.
Available Published Data
 
Name
Description
String to compare
The first string that was entered for the comparison. This Published Data is only available when Compare Strings is selected on the General tab.
String to compare to
The second string that was entered for the comparison. This Published Data is only available when Compare Strings is selected on the General tab.
Case sensitive comparison
Determines whether the comparison was case sensitive. This value can be either 'true' or 'false'.
Value to compare
The first value that was entered for the comparison. This Published Data is only available when Compare Numeric Values is selected on the General tab.
Value to compare to
The second value that was entered for the comparison. This Published Data is only available when Compare Numeric Values is selected on the General tab.
Comparison result
The result of the comparison. This value will be 'true' if the two strings or numeric values match and false otherwise.
Common Published Data

Previous Next