Is it possible to use an expression instead of the plethora of change nodes i've created?
I'm running into the problem where I want to filter out the output of the change nodes and it's quite cumbersome with that many nodes.
The change nodes are moving two values from an array in a set pattern.
[{"id":"7e05bfe6.193dd","type":"change","z":"392484c1.36304c","name":"1","rules":[{"t":"set","p":"topic","pt":"msg","to":"payload[0][1]","tot":"msg"},{"t":"set","p":"payload","pt":"msg","to":"payload[1][1]","tot":"msg"},{"t":"set","p":"payload1","pt":"msg","to":"payload[2][1]","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1290,"y":1100,"wires":[["52f74198.0e62d"]]},{"id":"3628255f.ec331a","type":"change","z":"392484c1.36304c","name":"2","rules":[{"t":"set","p":"topic","pt":"msg","to":"payload[0][2]","tot":"msg"},{"t":"set","p":"payload","pt":"msg","to":"payload[1][2]","tot":"msg"},{"t":"set","p":"payload1","pt":"msg","to":"payload[2][2]","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1290,"y":1140,"wires":[["52f74198.0e62d"]]}]
A visual of my flow.