Description
Compare two values and detect EXACTLY what changed: deep object diff returning added/removed/modified fields (with from/to values), or line-based text diff — without writing recursive Code-node logic.
action_diff · action · Data & Transform · Available · v1.0.0
Compare two values and detect EXACTLY what changed: deep object diff returning added/removed/modified fields (with from/to values), or line-based text diff — without writing recursive Code-node logic.
Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
modeModalità | enumobjecttext | yes | object | object = deep diff tra oggetti · text = diff riga per riga. |
aValore A (precedente) | expression | no | input | Il primo valore (lo stato "prima"). Vuoto = usa l'input del nodo. |
bValore B (nuovo) | expression | yes | — | Il secondo valore (lo stato "dopo") da confrontare con A. |
Fields available to downstream nodes via $node.<alias>.json.<field>:
equaldifferentJSON snippet of the node as it appears in the workflow. Values are derived fromdefaultValue and from required parameters.
{
"id": "node-action_diff-1",
"defId": "action_diff",
"label": "Compare",
"config": {
"mode": "object",
"a": "input",
"b": "<b>"
}
}Available now on all FlowForge plans. Try it free without a credit card.
Start freeBrowse all nodes