I would like to create an Inbox query to limit the list visible by user (two answers on the survey).
Each user would only see their region's records in their inbox.
How do I write this expression? The one below give me an error (Code 400)
Hello @AllisonWebb,
The username variable is the only dynamic variable that can be used in an inbox query.
You have two options
Create two surveys with different queries. The queries would be written using SQL, not ${field}. This may be practical if you have a limited number of regions or use python to automate the publishing and sharing of surveys.
Otherwise as Zach mentioned the only filter you can apply from the user side is username. But you could populate a field with a list of comma separated users and then have the inbox query check the ${username} against the list. An example of this is here:
https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepareforediting.htm