SelectByPath@1
Node SelectByPath
allows select fields, execute for each successful selection a sub transformation pipeline and store the result in a merged output object.
The node merges after execution the outputs of each strand by the target path to the output object.
Adapter Prerequisites
- General availability: All adapters support this node type.
Node Configuration
For fields path
, targetPath
, targetValueWriteMode
, and targetValueKind
, see Overview.
transformations:
- type: SelectByPath@1
description: Transform object node
selectPath:
- path: "$.Sinus" # Path to be selected, the path will be the root object for the sub pipeline
targetPath: Sinus5 # Path that the output of the sub pipeline will be stored in the merged output object
transformations: # Sub pipeline that will be executed for each selected path
- type: LinearScaler@1
scaleInputMin: 0
scaleInputMax: 1
scaleOutputMin: 0
scaleOutputMax: 1000
- path: "$.Constant_6"
targetPath: Constant
transformations:
- type: LinearScaler@1
scaleInputMin: 0
scaleInputMax: 10
scaleOutputMin: 0
scaleOutputMax: 1000