Compare Records

data · N088 · starter-package 7.0.1

Produce a change list with field paths and added, removed or changed values. Nested records are compared recursively. An array is reported as a single field change.

Example

Connected values

{"before":{"a":1,"b":null},"after":{"a":2,"c":false}}

Result

{"changes":[{"path":["a"],"kind":"changed","before":1,"after":2},{"path":["b"],"kind":"removed","before":null},{"path":["c"],"kind":"added","after":false}]}

Connector data types

DirectionConnectorTypeRequired
Inputbefore — Beforerecordyes
Inputafter — Afterrecordyes
Outputchanges — Changesliston success

Errors and recovery

Supply a record on each side. Use Read Value at Path first if the records are inside an enclosing list.