<?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>Function to get group from group attribute in appian</title><link>https://community.appian.com/discussions/f/new-to-appian/34665/function-to-get-group-from-group-attribute-in-appian</link><description>Hi Everyone, 
 Can anyone please help me how to get group from group attribute in appian.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Function to get group from group attribute in appian</title><link>https://community.appian.com/thread/133390?ContentTypeID=1</link><pubDate>Sun, 14 Apr 2024 16:21:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:738d54aa-c582-4c2e-b2ef-4bc6c468651d</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;&lt;span&gt;Retrieving groups based on a specific attribute value in Appian isn&amp;#39;t straightforward.&lt;br /&gt;&lt;br /&gt;Use&amp;nbsp; &lt;a href="https://docs.appian.com/suite/help/24.1/fnc_people_a_groupsbytype.html#:~:text=The%20groupType%20value%20should%20be,is%20applied%20on%20id%20%2C%20ascending."&gt;a!groupsByType()&lt;/a&gt;&amp;nbsp;function to retrieve all groups or a specific group type.&lt;br /&gt;Loop through each group using a for loop.&lt;br /&gt;Inside the loop, use &lt;a href="https://docs.appian.com/suite/help/24.1/fnc_people_getgroupattribute.html"&gt;getgroupattribute(group, attribute) &lt;/a&gt;function to get the value of the specific attribute for the current group.&lt;br /&gt;Compare the retrieved attribute value with your desired value.&lt;br /&gt;If there&amp;#39;s a match, store the group information.&lt;br /&gt;&lt;br /&gt;&lt;a href="/members/shubhamy3376"&gt;Rahul009&lt;/a&gt;&amp;nbsp;Let me know if that works for you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Function to get group from group attribute in appian</title><link>https://community.appian.com/thread/133389?ContentTypeID=1</link><pubDate>Sun, 14 Apr 2024 16:20:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8619f6a1-5835-4752-8408-3b739e2a27d1</guid><dc:creator>Karumuru Abhishek</dc:creator><description>&lt;p&gt;hi &lt;a href="/members/shubhamy3376"&gt;Rahul009&lt;/a&gt;&amp;nbsp; may i know more about your requirement what are the expected outputs.&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/24.1/fnc_people_getgroupattribute.html"&gt;getgroupattribute()&lt;/a&gt;. could go through this link and let me know this has solved your question&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>