getgroupnames function from People Functions - Plug-in (shared component) is bre

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
  • @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.
Reply
  • @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.
Children
No Data