How to process multiple data

What is the calculation in the function?

Yes - share your flow and I will show you how.
Also, include sample data (add a debug node to TCP node, capture the data using the "copy value" button that appears under your mouse pointer when you hover over the payload)




CANNED TEXT...

How to get data from a message

There’s a great page in the docs that will explain how to use the debug panel to find the right path to any data item.

Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.

BX00Cy7yHi

user-guide/messages

How to post code or exported flow

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```)

``` 
   code goes here 
```

See this post for more details - How to share code or flow json