Getting the usernames of users selected from gridField

Hi. I'm trying to create a selectable gridField similar to the one in this guide: https://docs.appian.com/suite/help/18.3/recipe_select_rows_in_a_grid.html. However, the gridField here only returns the IDs of selected users, which are profoundly less useful than, let's say, their name. How do I get local!gridSelection.selected to return a collection of names, titles, usernames or etc., instead of IDs?

  Discussion posts and replies are publicly visible

Parents Reply
  • I think there's a problem with your solution. After trying this with a handful of entries, it seems you're using the IDs you get from local.gridSelection.selected as indexes, for the index() function (I think). This doesn't always work, because the elements in the datasubset can be out of ID order, or have gaps between their IDs, so you end up getting the wrong elements in the rule input variable.
Children