Hello,
I need help building a working QUERY expression to query specific records in the Inbox.

I want users to have access to records they created and to records in which their username where selected from a select_multiple question.
So the logic of the second part of the query is that the select_multiple question is called AllowedUsersInbox and it has my users usernames as choices. If the currently logged in user in S123 was selected in the select_multiple question of a record, he will have access to that record to edit via the inbox.
With the query in the screenshot I get an error message:

How can I make the query works?
Thanks a lot,
Jérémie