Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Scenario
A list of identifiers arrives as single stream-item containing a comma separated list, and PhixFlow wants to create a single stream-item for each element of 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
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 stream-items, 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.
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|