- Print
- DarkLight
- PDF
Description
You can use the Compare module to compare two variables or a variable with a value. Available operators for the comparison are equal to, not equal to, less than, less than or equal to, greater than, greater than, or equal to.
Application
The Compare module is used to compare a variable with another variable or a set value. The module allows you to evaluate several things such as if a variable is equal to, less than, or greater than another variable or value.
For example, using an insurance claim as the context, after retrieving the status of an application from the metadata, we can check if the ClaimStatus is “Approved”, “Denied” or “In Processing”.
Setting
The three basic settings in the Compare module are:
Label: the label uniquely identifies this module inside the Ushur for your reference.
Using: here you would select a variable used to compare
Operator: this dropdown is where you can choose how you would like to compare the values. The options are “equal to”, “not equal to”, “less than”, “less than or equal to”, “greater than”, “greater than or equal to” and “contains”.
Against: here you would select a variable from the dropdown or manually entered value to compare against.