Contain

Logic name
Contain (Document Mapper/Variable Mapper)
Function
This logic determines whether the input string contains the specified string.
Data types
Location |
Type |
---|---|
First input handler |
String |
Logic output |
Boolean |
For details, refer to Logic specifications (Document Mapper/Variable Mapper).
Properties
Category |
Property |
Description |
---|---|---|
Required settings |
String for determination |
Specify the string used for determination. |
Null processing |
Null option |
Specify how to handle the input if it contains null. |
Comment |
Comment |
You can write a description of the logic. It doesn't affect the conversion process. |
Null option
Option |
Description |
---|---|
Return false in case of null |
Outputs false if value of the input handler is null and continues with the process. |
Convert null into empty string |
Converts null to an empty string and continues with the process. |
Throw exception when unable to determine/calculate/process |
Throws an exception (CalculationException) and stops the processing when the system is unable to determine/calculate/process. |
Output null if the input is null |
Outputs null if the value of the input handler is null. |
For details, refer to Logic specifications (Document Mapper/Variable Mapper).
Logic sample
Mapping definition

Logic settings and processing result
This logic returns "true" if the string of the input data includes "apple". If not, it returns "false".
Property settings
Property |
Setting |
---|---|
String for determination |
apple |
Input data
Pineapple |
Orange |
Banana |
Output data
true |
false |
false |
For a list of logics, refer to Mapper Logic Guide.