Scenario
A list of Ids arrives as single record containing a comma separated list, and PhixFlow wants to create a single record for each element of the list. For example, the list may have come from a web service, and the Ids need to be in separate records for further processing
Create a stream with one element - a comma separated list of 10 values. Process that stream into another stream such that the result is 10 records, each with a different one of the 10 values.
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.