Chain multiple entity transformers

Table Of Contents

  • Use case
  • Video guide

Use case

More often than not, you might require to manipulate a data transformer to suit a certain objective. Nevertheless, you might still require a prototype transformer on top of that. In such a scenario, the best course of action is to add a chain of multiple entity transformers instead of adding a data transformer right away.

While creating an entity transformer, you can select Chain Multiple Entity Transformers from the Settings. Upon selection, you will have the option to add data transformers (for example, transforming data using mappers and conditions) while following it up by adding another entity transformer (for example Get branches from a pattern).

This approach will allow you to incorporate data manipulations on the data transformers. For instance, you can include a value setter, set up its configuration using a result key (objects, numbers, arrays).

The subsequent entity transformer can simply include the result key and filter out irrelevant data that are not required.

Video guide