ExtractProcesses@1
Node ExtractProcesses@1 reduces a list of EdaMessageInfo objects (as created by EdaParseMessage@1) to one entry per EDA process. For each process, the newest message is kept, so that the process state (finished, successful, response code) is always taken from the most recent message.
Adapter Prerequisites
Node Configuration
For fields path, targetPath, targetValueWriteMode, and targetValueKind, see Overview.
transformations:
- type: ExtractProcesses@1
path: $.EdaMessages # list of EdaMessageInfo objects
targetPath: $.EdaProcesses
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | No | $ | Path to the list of EdaMessageInfo objects |
targetPath | string | No | $ | Path where the list with one EdaMessageInfo per process is written |
Behavior
- If the list is missing or empty, the node writes nothing.
- Messages without
ProcessRtIdare ignored. - The messages are grouped by
ProcessRtId; per group, the message with the latestCreationDateis kept. - If the kept message has no
ResponseCode,ResponseCodeandResponseInfoare taken from the newest message of the same process that has one.
The configuration properties are documented in the API reference.
Complete sample of pipeline configuration
See EdaParseMessage@1.