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
6 replies
Subscribers
5 subscribers
Views
2066 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hello Friends, It is related to plug-in : Add Group Members plugin
kaushikr735
over 8 years ago
Hello Friends,
It is related to plug-in : Add Group Members plugin
I am using Add Group Members plugin to add user in group as member. During my normal testing I checked that plugin, it is working as expected e.g. I created custom groups, departments and added user in that group through plugin which is working as expected.
When groups hierarchy is unknown or complex it starts to act differently e.g. it is adding that user in group as member also as an group admin. Which is not expected.
So is there any other reason of this unexpected behavior which is causing user to add in group as Group Admin?
Thanks in advance.
OriginalPostID-224288
OriginalPostID-224288
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 7 years ago
If you are also creating the groups within the process, the creators will become administrators too, so keep that in mind.
I also don't think you're using a plug-in, based on the name it seems you're using
forum.appian.com/.../Add_Group_Members_Smart_Service.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
naveenp878
A Score Level 1
over 7 years ago
You may try look at this plug in application from shared components -
forum.appian.com/.../summary
This application has groups records with related actions to add members, remove members and more functionality available which you may be interested.
This application uses four plug-ins as below. We may use any specific plugin to suite your requirements.
Group Management Plug-in
People Functions
Group Functions
User Search Expression
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kaushikr735
over 7 years ago
@Eduardo Fuentes
Yes my mistake, I am using "Add Group Members" smart service. I am not creating groups within process. It seems that when groups hierarchy is unknown or complex it acts weird e.g. it is adding that user in group as member also as an group admin.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kaushikr735
over 7 years ago
@naveenp878
Thanks, user and group management application doesn't satisfy my requirement. I needed to add user in multiple groups, so it will be length task. I want to do it in one go using smart service.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 7 years ago
I have never seen this. The smart service code only adds users to groups as members.
Just keep in mind that in the Administrators tab you will see groups that are administrators of this group and also any member that is part of any group in the list of Administrators.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kaushikr735
over 7 years ago
@Eduardo Fuentes
yes, smart service should only add users to groups as members but when group hierarchy is complex it is adding user in Administrator tab also. It seems that this issue is regarding group hierarchy because I have one plugin where i create user and add that user in multiple groups using addMemberUser() of group service API, that plugin also behaves in same way the way smart service does.
I will try to dig down more on group hierarchy.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel