<?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>Get groups names with the input which we pass</title><link>https://community.appian.com/discussions/f/general/30526/get-groups-names-with-the-input-which-we-pass</link><description>Hi Team, 
 I have requirement to get the groups names which has the input value which we pass. 
 For example: If I pass input value as &amp;quot;United States&amp;quot; I should get the group with the name &amp;quot;&amp;lt;App prefix&amp;gt;_United States&amp;quot;, 
 India =&amp;gt; &amp;quot;&amp;lt;App Prefix&amp;gt;_India&amp;quot; </description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Get groups names with the input which we pass</title><link>https://community.appian.com/thread/121308?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2023 08:49:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c67ef898-1c14-4bff-b34b-9961b005ef78</guid><dc:creator>Sri Ram Kaja</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use &lt;a href="https://docs.appian.com/suite/help/23.3/Group_Picker_Component.html"&gt;Group Picker Component - Appian 23.3&lt;/a&gt;&amp;nbsp;or getallgroups function and search for the name entered.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!groups:getallgroups(batchsize:-1,startIndex:1),
  a!flatten(a!forEach(
    items: local!groups,
    expression: if(
      find(
        ri!text,group(fv!item,&amp;quot;groupName&amp;quot;),1
      )&amp;gt;1,
      fv!item,
      {}
    )
  ))
)
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1699001363906v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>