Starts With Filter dialog box

This filter checks if the input string starts with a specified substring.

Option Description
Field name Enter the field name of the FRTN generated by the filter.
Input Enter a string to be checked for starting with a specified substring. Commonly, RRT is used in this text box.
Starts with Enter the substring, the input string should start with.
Note: The filter generates an error if the Starts with parameter is an empty 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 input is empty.
Result This group of settings specifies the generated RRT depending on the matching result.
On success Specify a value for replacement of the generated RRT in case the input string starts with the given substring. 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 input string doesn't start with the specified substring. You can select one from the predefined alternatives (FALSE, NO, OFF, 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 starts with a specified substring, and with the value configured as a failure result otherwise.

The example of the filter usage:

Input: Is it a question?

Starts with: IS

Match case: unselected

On Success: TRUE

On Failure: FALSE

The generated RRT will be replaced with: TRUE.