Equals To Filter dialog box
This filter checks if the input string equals to a specified string.
Option | Description |
---|---|
Field name | Enter the field name of the FRTN generated by the filter. |
Input | Enter the string to be tested. Usually, RRT is used in this text box. |
Equals to | Enter the string to be compared against the input string. |
Match case | If this check box is selected, then the comparison is case-sensitive. Otherwise, it is case-insensitive. |
Fail job if input/output is invalid | If this check box is selected, the component will reject the current job if either the input string or filter's result is empty. |
Result | This group of settings specifies the generated RRT depending on the result of matching operation. |
On success | Specify a value for replacement of the generated RRT in case the strings are equal. You can select one from the predefined alternatives (TRUE, YES, ON, 1) from the drop-down list or enter any other value manually. The default value is TRUE. |
On failure | Specify a value for replacement of the generated RRT in case the strings are not equal. You can select one from the predefined alternatives (FALSE, OFF, NO, 0) from the drop-down list or enter any other value manually. The default value is FALSE. |
This filter generates the following Boolean RRTs that can be used in the Validate filter for metadata validation:
- ~DFT::%field name#IsSuccess%~ is replaced with TRUE if the filter operation ends with success. Otherwise, it is replaced with FALSE.
- ~DFT::%field name#IsFailure%~ is replaced with TRUE if the filter operation ends with failure. Otherwise, it is replaced with FALSE.
Result RRT:
~DFT::%field name%~ is replaced with the value configured as a success result if the input string equals to a specified string and is replaced with the value configured as a failure result otherwise.
The example of the filter usage:
Input: EXACT MATCH
Equals To: exact match
Match case: selected
On Success: TRUE
On Failure: FALSE
The generated RRT will be replaced with: FALSE.