<?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 from constant application</title><link>https://community.appian.com/discussions/f/rules/29006/get-groups-from-constant-application</link><description>Hello, I have a constant of type application and I need to retrieve all of the application groups from it. Is there any way to achieve this? 
 Thank you!</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Get Groups from constant application</title><link>https://community.appian.com/thread/114462?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 10:55:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:23a73603-fc63-412e-bf64-ab7605e5aa23</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;If all the groups in app are using same prefix then only working solution I can think of, lil complex though, is to use&amp;nbsp;getallgroupsnames() function available in&amp;nbsp;&lt;a href="/b/appmarket/posts/people-functions---plug-in"&gt;People Functions&lt;/a&gt;&amp;nbsp;plugin and create a utility rule like below:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;a!forEach(
  getallgroupsnames( - 1, 1),
  if(
    like(fv!item, ri!appPrefix &amp;amp; &amp;quot;*&amp;quot;),
    fv!item,
    {}
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get Groups from constant application</title><link>https://community.appian.com/thread/114461?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 10:43:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fc1c9bdb-1b1d-41c6-8fd9-5499c33a58e7</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Not possible AFAIK.&lt;/p&gt;
&lt;p&gt;This plugin retrieves application objects but not the groups.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.appian.com/b/appmarket/posts/get-application-s-content-objects"&gt;community.appian.com/.../get-application-s-content-objects&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>