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
6 subscribers
Views
1594 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hello, I'm using getgroupbyname function on a process BUT I've a problem
Giobis
over 11 years ago
Hello, I'm using getgroupbyname function on a process BUT I've a problem because it doesn't works.
I created a list of Group ListGrp_txt (text type) and into a smarth node output I'm using getgroupbyname(pv!ListGrp_txt) and save in append to ListGrp_grp (group type). In this node I used the MNI for cycling to all ListGrp_txt values.
The problem is that I'm not receiving output data. :(
Anyone can help me?...
OriginalPostID-105799
OriginalPostID-105799
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 11 years ago
1. You're right, the getgroupbyname() function only takes one group name at a time.
2. If you are on Appian 7.0 AND NEWER try this instead:
---> Remove the MNI
----> Create a custom output mapped to pv!ListGrp_grp (Make sure this is of type Multiple-Group)
----> The custom output should read (Make sure pv!ListGrp_txt ss of type Multiple-Text)
=apply(fn!getGroupByName,pv!ListGrp_txt)
3. It could be that pv!ListGrp_txt is NOT of type multiple; in that case you either make it multiple or you split the array:
=apply(fn!getGroupByName,split(pv!ListGrp_txt,";"))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Giobis
over 11 years ago
Hello Eduardo, the ListApprovers_txt and ListApprovers_grp are multiple.
So, I used your solution and it doesn't works :(
Enclosed you can find the screenshot about the solution
Could you helping me? thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Giobis
over 11 years ago
Yes! it works.. Sorry
I'm using =apply(fn!getGroupByName,split(pv!ListGrp_txt,";"))
Thanks Eduardo
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel