Group records Transformer

Table of contents

  • General description
  • The different parts of the Group records Transformer

General description

The Group records Transformer helps group entities from a list based on a value of a property of the entities in the list.

For example, if a list of products contains a property called “parent_sku”, this Transformer can group the products into an object. The resulting object will contain keys for each unique parent_sku. The value will be a list of entities with the parent_sku.

The different parts of the Group records Transformer

  • Pattern (required field)
    This specifies a pattern for the list that needs to be grouped.

  • Path (required field)
    This defines the name of the property that will be used to group the items in the list.

  • Destination (required field)
    This indicates a pattern where to set the result of the group action.