Cast an integer to a string

This article explains how you can cast an integer to a string

Let's say that you have a pattern named result.ean which is as an integer, and you want to cast that to a string. This is how you achieve the obtained result:

  1. Within a Transformer choose Data, transform data using mappers and conditions
  2. Add the Transformer named Value mapper
  3. The Accessor should be configured to Pattern accessor
  4. The Pattern should be result.ean
  5. Then add the Mapper Cast: Integer

As a result, the pattern result.ean will now be an Integer

Screenshot

Schermafbeelding 2021-01-14 om 16.51.43