Code to calculate total value of 2 parameters

I want to calculate the total value of two parameter and then replace the old value with the new value for one parameter.
first parameter is “total days”
second parameter is “added days”
→ I want to have the result like: “totals days” = “totals days” + “added days”

If I understand you correctly, the expression would be:

{{ $json["total days"] + $json["added days"] }}

Here an example workflow:

1 Like