Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
+2
person also asked this
people also asked this
Replies
5 replies
Answers
1 answer
Subscribers
10 subscribers
Views
9100 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hi How can I retrieve a logged in user's group id in a process if
lincolnf454
over 11 years ago
Hi
How can I retrieve a logged in user's group id in a process if the user has been added to a group initially via the people tab?...
OriginalPostID-85340
OriginalPostID-85340
Discussion posts and replies are publicly visible
Parents
0
Abhay Dalsaniya
Certified Lead Developer
over 7 years ago
RI Array: ri!userBelongsToTheseGroups in following code will give you list of desired groups.
a!forEach(
items: ri!listOfGroups,
expression: if(
isusermemberofgroup(ri!userName, group(fv!item, "id")),
a!save(ri!userBelongsToTheseGroups, fv!item),
{}
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Abhay Dalsaniya
Certified Lead Developer
over 7 years ago
RI Array: ri!userBelongsToTheseGroups in following code will give you list of desired groups.
a!forEach(
items: ri!listOfGroups,
expression: if(
isusermemberofgroup(ri!userName, group(fv!item, "id")),
a!save(ri!userBelongsToTheseGroups, fv!item),
{}
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data