IsLessThan (Filter)
The IsLessThan filter function returns allows records which are true to pass on within the Flow.
An IsLessThan function works similarly but instead passing on true values within the Flow, a Boolean value is returned.
Description
Tests if the left side value is less than the right side value. Records that meet the conditions are passed on within the Flow.
The function compares two strings lexicographically. The comparison is based on the Unicode value of each character in the strings.
Use
- Left Side Argument:
- Select an argument or enter a value. (Number, String, Date)
- Right Side Argument:
- Select an argument or enter a value to compare if that value is less than the left side field value.
Example
An example of using the IsLessThan filter function is when processing confidence scores from the various AI studios to determine which records are too low and which may need to be checked with Human in the Loop.
If the risk threshold for a field is 0.8 and a model extracts a result at 0.75, maybe it should go to a human for review. But if the result is 0.9, maybe the result can be directly updated in your DB.
Hero Platform_ Example
An example of this function can be found in Hero Platform_'s library of examples.
Download the example titled "function_IsLessThan" to see an example of this function.