How to perform a comparison in a rule to check all values of a multi-select list? I'm stuck with a simple problem, maybe someone can point me in the right direction...

I have a ContentType with a field, let's say it's a list of hobbies. It's a Checkboxlist, multi-select.

Users have an additional account field to select their favourite hobby (a single-select selectbox)...

Now, when a new content of that type is generated I wan't to send an email to all users who have a selected hobby from the list, selected as favourite in their profile.

--

I used "Fetch entity by property" to get the users with one of the selected hobbies.

I configured it that way:


Entity type - Value: User
Property - Value: Hobby (this is a single value, cause a user can only select one hobby)
Value - Data selector: node:hobbies:0 (and there is the problem: I can only compare it with the first value of the multi-select hobbies list)


Result: It triggers only correctly for the first selected hobby.

--

How can I configure it to take every selected value?
There is a switch to direct input mode button in the Value - Data selector section, after clicking it you'll see a select box with all the values of that field which now you can select.