<?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>How to get empty groups in Appian Environment</title><link>https://community.appian.com/discussions/f/general/13909/how-to-get-empty-groups-in-appian-environment</link><description>Is there any function to get the details of groups which are empty</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to get empty groups in Appian Environment</title><link>https://community.appian.com/thread/63132?ContentTypeID=1</link><pubDate>Fri, 30 Nov 2018 18:47:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:20601bcb-06b4-4751-a092-8b4124d92649</guid><dc:creator>Martin Camacho</dc:creator><description>I do know any appian rule that could give you that info however, the following code returns the list of empty groups&lt;br /&gt;
&lt;br /&gt;
load(&lt;br /&gt;
  local!listOfGroupsConstants: {&lt;br /&gt;
    cons!GROUP1,&lt;br /&gt;
    cons!GROUP2,&lt;br /&gt;
    cons!GROUP3,&lt;br /&gt;
    cons!GROUP4&lt;br /&gt;
  },&lt;br /&gt;
  index(&lt;br /&gt;
    local!listOfGroupsConstants,&lt;br /&gt;
    wherecontains(&lt;br /&gt;
      0,&lt;br /&gt;
      a!forEach(&lt;br /&gt;
        local!listOfGroupsConstants,&lt;br /&gt;
        count(&lt;br /&gt;
          getdistinctusers(&lt;br /&gt;
            topeople(&lt;br /&gt;
              fv!item&lt;br /&gt;
            )&lt;br /&gt;
          )&lt;br /&gt;
        )&lt;br /&gt;
      )&lt;br /&gt;
    ),&lt;br /&gt;
    {}&lt;br /&gt;
  )&lt;br /&gt;
)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get empty groups in Appian Environment</title><link>https://community.appian.com/thread/63131?ContentTypeID=1</link><pubDate>Fri, 30 Nov 2018 18:33:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3e73ebcd-b46c-4ce7-afe2-c06e78b4bfe5</guid><dc:creator>harrisont606</dc:creator><description>&lt;p&gt;do you already have a list of groups in mind or do you want to search the entire platform? Also, how frequently will you need to do this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get empty groups in Appian Environment</title><link>https://community.appian.com/thread/63130?ContentTypeID=1</link><pubDate>Fri, 30 Nov 2018 18:28:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:91200c13-9c72-45d0-9838-c628a2659a20</guid><dc:creator>vamshib</dc:creator><description>Hi Martin,&lt;br /&gt;
&lt;br /&gt;
We are using 17.4&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get empty groups in Appian Environment</title><link>https://community.appian.com/thread/63129?ContentTypeID=1</link><pubDate>Fri, 30 Nov 2018 18:28:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4bc58916-fe57-4ad3-9c79-f8dcca8f1508</guid><dc:creator>Martin Camacho</dc:creator><description>Hi vamshib, &lt;br /&gt;
&lt;br /&gt;
what is your appian version?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>