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
2 replies
Subscribers
9 subscribers
Views
2077 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
given a list of type User or Group, is there a way to iterate through that list
Richard
over 10 years ago
given a list of type User or Group, is there a way to iterate through that list and determine which are individual users and which are groups?...
OriginalPostID-123516
OriginalPostID-123516
Discussion posts and replies are publicly visible
0
sagarl511
A Score Level 2
over 10 years ago
It can be achieved by using fn!runtimetypeof(ri!userGroup). It returns an integer for type of given data.
4 - User
5- Group.
Use apply function on the list with a rule which calls this function.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ajinkyab277
Certified Lead Developer
over 10 years ago
User below rule
Rule name:-APP_isGroup
Input:-group_UG(User or Group)
=regexmatch("Group:(\\d)*",tostring(ri!group_UG))
This rule will return true if input of Group type.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel