Convert to boolean transform function
Introduction
The convert to boolean transform function is used to change incoming string values of true
or false
, to valid boolean values. For example:
[{"likes_tuna": "true"}, {"likes_tuna": null},{"likes_tuna": "false"},{"likes_tuna": "unknown"}]
...would be transformed as:
[[{"likes_tuna":true},{"likes_tuna":null},{"likes_tuna":false},{"likes_tuna":false}]
Adding a convert to boolean transform
Step 1
In your process flow, access settings for your map
shape:

Step 2
Select the add transform
button for the required mapping rule - for example:

Step 3
Click the add transform
button:

Step 4
Click in the name
field to access a list of all available transform functions, then select convert to boolean
from the string
category:

Step 5
Click the add field
button:

Step 6
Click in source fields
and select the source field to be used for this transform:

Step 7 Accept your changes (twice).
Step 8 Save the transform. You'll notice that the transform icon is updated to indicate that a transform function is present for the mapping row, - for example:

Last updated