Match values against two arrays

Hi!

I am struggling with a simple problem (hopefully)

This output from module “Set multiple variables” shows two arrays. I want to return in a new array only the values that matches. In this case there are two values that matches.

Any idea how to achieve this?

I can’t think of anything else that works without custom code. Besides iterating through an array and checking if the other array contains the value. I have made a simple example here.


blueprint (71).json (5.5 KB)

2 Likes

Thanks for replying. That confirms that I dont need to look for a formula or function that supports this. I also found this post which explains the same approach as you did:

2 Likes