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
7 subscribers
Views
1728 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I'm trying to make a User Picker that shows every user in the entire system
davids900
over 9 years ago
I'm trying to make a User Picker that shows every user in the entire system that does NOT belong to a specific group. I've tried the not(), reject(), difference() functions and don't seem to be having any luck.
Strangely, when I make a rule input and set it equal to "AllUsers" I don't get any results at all.
OriginalPostID-167415
OriginalPostID-167415
Discussion posts and replies are publicly visible
Parents
0
chandhinir
over 9 years ago
We had the same requirement where we didn't place restrictions in the picker field rather than we had a validation message if the user is selected as a part of the unspecified group.
Please find the code below that we have placed in the validation part of the picker field:
if(isusermemberofgroup(ri!user),cons!TEST_GROUP),
"User is part of Test Group",
"")
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
chandhinir
over 9 years ago
We had the same requirement where we didn't place restrictions in the picker field rather than we had a validation message if the user is selected as a part of the unspecified group.
Please find the code below that we have placed in the validation part of the picker field:
if(isusermemberofgroup(ri!user),cons!TEST_GROUP),
"User is part of Test Group",
"")
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data