Boolean Converter
The Boolean converter converts any pattern and returns a Boolean value: true or false if there is any pattern found. If no pattern found, no value is returned and instead, a warning message is displayed on top of the Test Input window.
- Using the Boolean Converter
-
You can access the converter as follows:
-
Extracting boolean data using the Extract action
On the Action tab, select then click the plus sign under Converters and select .
-
Using the right-click menu in the Page view
Right-click the text you want to extract from and select the appropriate option on the Extract menu.
-
Properties
The Boolean converter is configured using the following properties:
- Formats
-
Displays defined patterns and expected results: true or false.
- Pattern
-
The Pattern list contains default suggested patterns like yes, no, and so on. You can also click the drop-down box to the right of the Pattern list and choose from Value, Variable, Expression, or Converters.
- Ignore Case
-
If this option is selected, the action ignores the case of the pattern's content.
- Value
-
Select true or false from the list.
- Test Input
-
Enter an input value for testing.
- Test Output
-
A corresponding output is displayed according to the defined formats.
Converting rules
-
By default, if the input text is a boolean value itself, the output is the same as the input. Note that it is case sensitive. This rule only applies to lower case true and false.
-
The order of the formats matters, that is the action starts searching for matching formats from the top. When any matching pattern is found, the result is returned regardless of any other patterns located below the found one.