Have a group of tags - tags1...tag24. I would like to find the highest value in that group of tags.
I was using this script on an individual tag to see when the value changed for that tag but I dont think that is the best way. I would have to add this to all 24 tags.
For fun, I decided to implement this using the abovementioned module. I split it into two tags for readability but there's nothing stopping you from nesting the expressions into a single monstrosity:
Tag 1, getting the highest tag value of our group (assuming the tags are nicely ordered and 1-indexed):
So it would be better to have the forEach(24, stringFormat("[default]path/to/tag_%d", idx()+1) in its own custom prop/tag and then reference that in the first expression?