<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Preventing pickerFieldUsers from allowing you to select the same user twise</title><link>https://community.appian.com/discussions/f/new-to-appian/26979/preventing-pickerfieldusers-from-allowing-you-to-select-the-same-user-twise</link><description>Hi All, 
 I am able to see the user which is already selected previously in the pickerFieldUsers, how to hide/prevent the users&amp;#39; which already selected from pickerFieldUsers ? 
 
 
 Thank You</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Preventing pickerFieldUsers from allowing you to select the same user twise</title><link>https://community.appian.com/thread/105955?ContentTypeID=1</link><pubDate>Mon, 26 Dec 2022 16:53:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8db525a8-d855-4305-af8e-c71e3b01f990</guid><dc:creator>susmethaasirir</dc:creator><description>&lt;p&gt;Have a duplicate check in the saveInto&lt;/p&gt;
&lt;pre&gt;&lt;span class="nf"&gt;a!pickerFieldUsers&lt;/span&gt;&lt;span class="ow"&gt;(&lt;/span&gt;
      &lt;span class="ss"&gt;label:&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;Users&amp;quot;&lt;/span&gt;&lt;span class="ow"&gt;,&lt;/span&gt;
      &lt;span class="ss"&gt;maxSelections:&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="ow"&gt;,&lt;/span&gt;
     groupFilter:cons!AA_STATES,
      &lt;span class="ss"&gt;value:&lt;/span&gt; &lt;span class="k"&gt;local!pickedStates&lt;/span&gt;&lt;span class="ow"&gt;,&lt;/span&gt;
      &lt;span class="cm"&gt;/* The union() function allows duplicate Users to be ignored, returning only unique elements.*/&lt;/span&gt;
      &lt;span class="ss"&gt;saveInto:&lt;/span&gt; &lt;span class="nf"&gt;a!save&lt;/span&gt;&lt;span class="ow"&gt;(&lt;/span&gt;&lt;span class="k"&gt;local!pickedStates&lt;/span&gt;&lt;span class="ow"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;union&lt;/span&gt;&lt;span class="ow"&gt;(&lt;/span&gt;&lt;span class="k"&gt;save!value&lt;/span&gt;&lt;span class="ow"&gt;,&lt;/span&gt; &lt;span class="k"&gt;save!value&lt;/span&gt;&lt;span class="ow"&gt;))&lt;/span&gt;
    &lt;span class="ow"&gt;)&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>