<?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>getgroupnames function from People Functions - Plug-in (shared component) is bre</title><link>https://community.appian.com/discussions/f/plug-ins/6748/getgroupnames-function-from-people-functions---plug-in-shared-component-is-bre</link><description>getgroupnames function from People Functions - Plug-in (shared component) is breaking if input group id list is too big. getgroupnames function returns few group names blank randomly if list of input group id is too big (e.g. &amp;gt; 5000). This behavior is</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: getgroupnames function from People Functions - Plug-in (shared component) is bre</title><link>https://community.appian.com/thread/26743?ContentTypeID=1</link><pubDate>Sun, 24 Jan 2016 21:49:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e46e200e-647e-47de-891b-8b4225e3da0e</guid><dc:creator>sikhivahans</dc:creator><description>@vaibhavt No problem. It's good to hear that there has been a problem with massive inputs so that we can quickly skip to workaround next time without digging deep into the issue unknowingly. Next time if I get a chance, I would try to validate it once again.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getgroupnames function from People Functions - Plug-in (shared component) is bre</title><link>https://community.appian.com/thread/26676?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2016 20:01:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9609ab1c-fed7-4c6f-9fb8-18afd717510d</guid><dc:creator>Vaibhav Tandale</dc:creator><description>Thanks @sikhivahans &amp;amp; Tom for looking into this issue.&lt;br /&gt;&lt;br /&gt;@sikhivahans: I am very confident and tested that getgroupnames function returns blank results randomly (there is no fix pattern) for valid group ids. So you can also test it by providing valid input of list of group ids (&amp;gt;5000) to getgroupnames.&lt;br /&gt;&lt;br /&gt;For now, I have moved ahead with using apply function on group(id, attribute) function to achieve the desired functionality.&lt;br /&gt;&lt;br /&gt;It would be good if the getgroupnames plug function is fixed or this limitation documented in description or instructions for its usage.&lt;br /&gt;&lt;br /&gt;Thanks.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getgroupnames function from People Functions - Plug-in (shared component) is bre</title><link>https://community.appian.com/thread/26646?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2016 10:44:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:70cad741-d9f4-4ad3-a268-eeea2709a55a</guid><dc:creator>Tom Ryan</dc:creator><description>I am not familiar with the way this plugin works, so I cannot say whether the behavior is being caused by a limitation of the plugin or of the API. If it is indeed the API, then there may still be ways to work around this. For example, the plugin could be enhanced to internally batch requests to the API, or to validate the output to ensure there are no blank rows.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getgroupnames function from People Functions - Plug-in (shared component) is bre</title><link>https://community.appian.com/thread/26644?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2016 08:47:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:afaa5f2c-0179-4ca3-833b-e0688db86738</guid><dc:creator>sikhivahans</dc:creator><description>@Tom Ryan May I please know what do you mean by enhancing the plugin? As per my understanding, the source code in the plugin is just making use of an API function and what can we do still to enhance it? Please correct me if my understanding is wrong.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getgroupnames function from People Functions - Plug-in (shared component) is bre</title><link>https://community.appian.com/thread/26643?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2016 08:42:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:27e5691c-bc08-466c-8448-043bec3124d7</guid><dc:creator>Tom Ryan</dc:creator><description>It sounds like you can work around this issue by batching the requests, eg doing only 1000 inputs at a time. If this is not possible, you may need to consider enhancing the plugin.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getgroupnames function from People Functions - Plug-in (shared component) is bre</title><link>https://community.appian.com/thread/26642?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2016 08:40:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c0132910-a4a5-4677-93aa-5dc5ccdc8365</guid><dc:creator>sikhivahans</dc:creator><description>@vaibhavt Hi, there isn't any limit specified on the number of groups that can be sent to the function as input as per the documentation of the API function. But as per the knowledge I have got over the usage of API functions in the Group object category, working with massive collections aren't appreciated by functions. May I please suggest you to apply the function in an iterative fashion in terms of batches?&lt;br /&gt;&lt;br /&gt;Re the blank results, as far as my knowledge is considered, that shouldn't happen. Because if we go through the plugin code, it just makes use of the API function and no extra coding has been done. If you are confident enough that the group ids which you have inputted are valid, then probably Appian product team should comment on the weird behavior of API function. Else I would like to suggest you to filter out the invalid group objects initially by applying a function such as fn!doesGroupExist(). &lt;br /&gt;&lt;br /&gt;Let's see if the Plugin creator or Appian product team comments on this behavior.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>