<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Inbox query expressions with multiple_select in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/inbox-query-expressions-with-multiple-select/m-p/1656129#M64386</link>
    <description>&lt;P&gt;Posting my solution if anyone has the same problem.&lt;/P&gt;&lt;P&gt;Use POSITION(${username} IN AssignedToField) &amp;gt; 0 .&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can't use LIKE ${username} or anything similar but you can check for your username IN a certain field and you need the POSITION() &amp;gt; 0 . I can't figure out why the POSITION() &amp;gt; 0 is needed for the query expression to work, maybe because select_multiple creates a csv format, but it's needed.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Oct 2025 05:05:30 GMT</pubDate>
    <dc:creator>Koifisherr</dc:creator>
    <dc:date>2025-10-08T05:05:30Z</dc:date>
    <item>
      <title>Inbox query expressions with multiple_select</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/inbox-query-expressions-with-multiple-select/m-p/774048#M4562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Is there's a way to setup inbox to read the choices?&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I know with a single selection we are able to use field=${username} but when you add more like&amp;nbsp; &amp;nbsp;"person1&lt;SPAN style="color: #ff0000; border: 0px; font-weight: inherit; font-size: 14px;"&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;person2&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; border: 0px; font-weight: inherit; font-size: 14px;"&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;person3"&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;it's unable to read.&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;In ArcMap I've used this&amp;nbsp;WORKORDERID LIKE '%20161008%' becuase it's able to find that string but&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;LIKE '%&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;${username}&lt;/SPAN&gt;%' doesn't seem to be a valid expression for the inbox. I'll provide an example form below.&amp;nbsp;To get a single selection to show in your inbox, add your login username in the choice tab.&amp;nbsp;&lt;SPAN&gt;Any help would be greatly appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Any help would be greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2020 19:40:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/inbox-query-expressions-with-multiple-select/m-p/774048#M4562</guid>
      <dc:creator>JordanMiller4</dc:creator>
      <dc:date>2020-10-01T19:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Inbox query expressions with multiple_select</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/inbox-query-expressions-with-multiple-select/m-p/774049#M4563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/189678"&gt;Jordan Miller&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A possible workaround for this could be to split the selected workers out into separate fields and then use an OR expression for the Inbox. In the attached example, the &lt;EM&gt;worker&lt;/EM&gt; choice list contains the username for each worker. The hidden questions store each selected choice using the &lt;EM&gt;selected-at()&lt;/EM&gt; function (note that this is zero-indexed). I've added a constraint (optional) to limit the number of choices for the select_mutliple question to three using the &lt;EM&gt;count-selected()&lt;/EM&gt; function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The WHERE expression for the inbox could then be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;worker1=${username} OR worker2=${username} OR worker3=${username}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is useful. Please see more info on WHERE expressions here&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepareforediting.htm#ESRI_SECTION1_635E85B962D64E699F1C277423026A52" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepareforediting.htm#ESRI_SECTION1_635E85B962D64E699F1C277423026A52"&gt;Prepare for editing existing survey data—ArcGIS Survey123 | Documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2020 01:46:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/inbox-query-expressions-with-multiple-select/m-p/774049#M4563</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2020-10-06T01:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Inbox query expressions with multiple_select</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/inbox-query-expressions-with-multiple-select/m-p/1656129#M64386</link>
      <description>&lt;P&gt;Posting my solution if anyone has the same problem.&lt;/P&gt;&lt;P&gt;Use POSITION(${username} IN AssignedToField) &amp;gt; 0 .&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can't use LIKE ${username} or anything similar but you can check for your username IN a certain field and you need the POSITION() &amp;gt; 0 . I can't figure out why the POSITION() &amp;gt; 0 is needed for the query expression to work, maybe because select_multiple creates a csv format, but it's needed.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 05:05:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/inbox-query-expressions-with-multiple-select/m-p/1656129#M64386</guid>
      <dc:creator>Koifisherr</dc:creator>
      <dc:date>2025-10-08T05:05:30Z</dc:date>
    </item>
  </channel>
</rss>

