Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
5 subscribers
Views
2565 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
getgroupnames function from People Functions - Plug-in (shared component) is bre
Vaibhav Tandale
A Score Level 1
over 9 years ago
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. > 5000). This behavior is very random i.e. one can not predict which group name will be blank in results if we call same getgroupnames function again and again.
Please look into the issue and resolve it.
OriginalPostID-190212
OriginalPostID-190212
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 9 years ago
@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?
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().
Let's see if the Plugin creator or Appian product team comments on this behavior.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 9 years ago
@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?
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().
Let's see if the Plugin creator or Appian product team comments on this behavior.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data