A flow I am constructing for a dashboard has multiple copies of the same nodes.
(I mistyped "2")
It would be useful if I could define a context variable group.arrayidx so that the source of the data in each field could be the same msg.payload.contacts[goup.get("arrayidx")] instead of hard coding the index number msg.payload.contacts[2]
In this simple example I could use a change node to set msg.payload.contact = msg.payload.contacts[2] but more complicated dashboards have data derived from more than just one message.
Perhaps there is already an easy way to achieve this?