@om327 You may of noticed that your last post did not display correctly, for example your brackets []
looked like
Any code that you post in the forum must be added in a certain format - see How to share code or flow json
I have edited the post above and corrected it for you, but please see the link above for future posts containing code.