Item Match Merge
Merge items that has a matching property into one.
This valve merges items with matching properties specified in the "property_to_match". Other items are left unmodified
Example when using propA as property_to_match
Input:
{"id":"1","propA":"XYZ","propB":"one"} {"id":"2","propA":"XYZ","propB":"two"} {"id":"3","propA":"XYZ","propB":"three"}
{"id":"4","propA":"something else","propB":"four"} {"id":"5","propA":"another","propB":"five"}
Result:
{"id":"1","propA":"XYZ","propB":["one","two","three]} {"id":"4","propA":"something else","propB":"four"} {"id":"5","propA":"another","propB":"five"}
Configuration
Valve name: ItemMatchMerge | ItemsMatchMerge
Name | Description | Default value | Mandatory | Expanded |
---|---|---|---|---|
| Name of the property to merge if matching |