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
8 replies
Subscribers
6 subscribers
Views
3363 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I am wondering whether there's a possible bug in the "Add Group Admins&
Mike Schmitt
Certified Lead Developer
over 12 years ago
I am wondering whether there's a possible bug in the "Add Group Admins" smart service node? It currently allows only the selection of users, instead of "users and groups" (which is the selectable field in the other comparable smart service nodes "remove group admins" as well as "add group members"). This is impacting me at the moment since I need to create a group in-process and immediately add my application administrator group as the new group's administrator. Thanks for any feedback....
OriginalPostID-59977
OriginalPostID-59977
Discussion posts and replies are publicly visible
0
Mike Schmitt
Certified Lead Developer
over 12 years ago
For reference:
screencast.com/.../op1v913RaT
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Cichy
Appian Employee
over 12 years ago
Please open a case with Support and attach the screenshot.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
elizabeth.epstein
over 12 years ago
If the problem is just the designer behavior, you can try working around it by creating a Constant (Group or User/Group type) that points to your app admin group, and referencing this constant to populate the "New Administrators" input.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 12 years ago
@Elizabeth: thanks for the suggestion, I actually hadn't tried that yet. I just did try, with constants set to "group" and then "user or group", both referencing the Admins group I need to use, but when I try to run the process it causes a failure at the smart service node: http://screencast.com/t/o61UtVc4Wc
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
elizabeth.epstein
over 12 years ago
Ok then it looks like the smart service is defined incorrectly to take a list of users only. Submit a support case ASAP if you haven't already.
It's not a good long term solution (since new admins won't get added dynamically) but for now you can use getdistinctusers(topeople(cons!ADMIN_GROUP)) to add the current group members as administrators of the new group.
The other option is to create a new smart service plugin that does the correct thing -- should be pretty straightforward using the API Call GroupService.addAdminGroups():
forum.appian.com/.../GroupService.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 12 years ago
I'd love to open a support case, but I don't have the necessary action available here on Forum (nor do any of the other partners I just checked with), just fyi.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Matt Luo
Appian Employee
over 12 years ago
Mike, I am going to email you directly about this issue. We can end this Forum thread.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Matt Luo
Appian Employee
over 12 years ago
The documentation,
forum.appian.com/.../Add_Group_Admins_Smart_Service
, has been updated as per the functionality of the Add Group Admins smart service.
Thanks again, Mike, for the feedback. The enhancement ticket number for adding groups as admins to a target group is AN-41877.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel