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
3 replies
Subscribers
8 subscribers
Views
2455 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hi, I want to get the "firstName" and "lastName" of all
phanibabuk
over 10 years ago
Hi,
I want to get the "firstName" and "lastName" of all users in a group.
apply(users(_,"firstName"),groupName) is not giving the desired output? However, if I pass just a username it works.
apply(users(_"firstName),userName)
How can I achieve this for a group?...
OriginalPostID-135879
OriginalPostID-135879
Discussion posts and replies are publicly visible
0
Stefan Helzle
A Score Level 3
over 10 years ago
The function getdistinctusers() should give you a list of all users in a group or list of groups. So something like that
apply(user(_,"firstName"),getdistinctusers(groupName))
should help you.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 10 years ago
Working code:
=apply(user(username:_, property:"firstName"),getdistinctusers(topeople(ri!group)))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
phanibabuk
over 10 years ago
It worked. Thanks...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel