Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Introduction

Sometimes it is necessary to split a single record into multiple records, for example if a list of values are provided in a single attribute for one record.

Scenario

A list of values exist in an attribute, and we want to create a record for each item in the list. For example, the list may have come from a web service, and the identifiers need to be in separate records for further processing.

The scenario we will cover in this solution will be: a stream with one record - a comma separated list of 10 values and this will be processed such that it results in 10 records, each with a different one of the 10 values.

CustomerProducts
BobProduct 1, Product 2, Product 3... Product 10
MargretProduct 1

Solution

Solution:

  • Create an output multiplier expression to parse the comma separated values into a list of 10 values
  • Reference the values in that list with the _type internal variable.


Terminology changes in progress

As part of the redesign of PhixFlow, we are changing the following terms:

dashboard → screen   
stream → table
stream attributes → attributes
stream item → record
stream set → recordset
stream view → view
stream item action → record-action 
stream action → table-action
driver class → database driver


  • No labels