Skip to main content

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
PropertyTypeRequiredDefaultDescription
pathstringNo$Path to the list of EdaMessageInfo objects
targetPathstringNo$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 ProcessRtId are ignored.
  • The messages are grouped by ProcessRtId; per group, the message with the latest CreationDate is kept.
  • If the kept message has no ResponseCode, ResponseCode and ResponseInfo are 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.