<?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>Is there a way to get group type Id by group name?</title><link>https://community.appian.com/discussions/f/general/35029/is-there-a-way-to-get-group-type-id-by-group-name</link><description>Is there a way to get group type Id by group name?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is there a way to get group type Id by group name?</title><link>https://community.appian.com/thread/135646?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 19:51:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3566f7be-2a8a-405b-a0d1-db4bd0b0cf6f</guid><dc:creator>jasmithak</dc:creator><description>&lt;p&gt;I was looking to get&amp;nbsp;dynamically the Group Type Id by Group Type Name to pass as an argument for&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/24.1/fnc_people_a_groupsbyname.html#function"&gt;a!groupsbyType()&lt;/a&gt;, i didnt get it so created a constant to&amp;nbsp;hold group type and passing it to the function to get all the groups.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get group type Id by group name?</title><link>https://community.appian.com/thread/135645?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 19:45:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7e34e70d-ce09-4fb1-bfc6-d3a951fe8ea1</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Is that what you want? What is it that you are looking for?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get group type Id by group name?</title><link>https://community.appian.com/thread/135644?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 19:43:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d62096f6-57f7-4ef9-8692-9d1318cfc3f9</guid><dc:creator>jasmithak</dc:creator><description>&lt;p&gt;Thank you&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get group type Id by group name?</title><link>https://community.appian.com/thread/135643?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 19:24:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33576a1b-68a5-4951-a2d4-c59372801276</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;same here - i had the exact same test code going.&amp;nbsp; but as i mentioned in my edit, i&amp;#39;ve also never had the occasion to worry about it, so i&amp;#39;m not sure what limitations it&amp;#39;s actually causing the OP in this case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get group type Id by group name?</title><link>https://community.appian.com/thread/135642?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 19:23:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:db774754-3bf3-4f07-9cbd-bb62b78ee724</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;I&amp;#39;ve tried getting the group Type Id but most of it returns custom. Not sure what to be expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get group type Id by group name?</title><link>https://community.appian.com/thread/135640?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 19:17:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:be7ae6d7-1d0a-4109-b69a-a0abac8f4118</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="140649" url="~/discussions/f/general/35029/is-there-a-way-to-get-group-type-id-by-group-name/135639"]Group Type Id by Group Name[/quote]
&lt;p&gt;For what it&amp;#39;s worth - the code you&amp;#39;ve given here returns the Group Type Name, but that is different from the type ID - I&amp;#39;m unable to find a pathway (with OOB functionality or even the rules available in People Functions plug-in) to trace back to Group Type ID.&lt;/p&gt;
&lt;p&gt;Caveat: I&amp;#39;ve basically never needed to directly interact with Group Type IDs (and never use anything other than &amp;quot;custom&amp;quot;), so I&amp;#39;m unclear what use case could possibly require it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get group type Id by group name?</title><link>https://community.appian.com/thread/135639?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 19:14:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7c135af4-f655-4724-bf65-f8cfd4034964</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;What is the requirement? Do you mean Group&amp;nbsp;Id by Group&amp;nbsp;name&amp;nbsp;or is it the same question what you have asked.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Group Id by Group Name -&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/24.1/fnc_people_a_groupsbyname.html#function"&gt;a!groupsbyType()&lt;/a&gt;&amp;nbsp;- Returns the Group Id&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!groupsByName(&amp;quot;Group Name&amp;quot;)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Edit: Removed group type Id by group Name described in my answer. Refer Mike&amp;rsquo;s detail on it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get group type Id by group name?</title><link>https://community.appian.com/thread/135638?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 19:06:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1a29e327-2abc-4065-87f1-515c9b3029ef</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Did you try&amp;nbsp;a!groupsByName()?&lt;/p&gt;
&lt;p&gt;The Appian documentation, specifically the list of functions, is a great resource to find such things.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>