Select transformer

Creates a new entry in a row that is a copy of the selected entry in a row, with different name, and value is changed according to the list of values provided.

Usage:

<select
     from="sourceField"
     to="targetField"
     targetType="targetType"
     default="default"
>
    <value from="currentValue" to="targetValue" />
</select>

Attributes:

  • from - name of the entry to be transformed

  • to - name of the entry to be created

Optional attributes:

  • targetType - if “boolean”, the default value and values provided with <value> tags, will be converted to boolean:
    • default: true if default is “true”, false otherwise

    • value: true if targetValue is “true”, false otherwise

  • default - default value to be used if sourceField value is not in the list of values(provided with <value> tags)

Children:

  • value - value to be transformed
    • from - current value

    • to - target value