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
11 replies
Subscribers
4 subscribers
Views
4206 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Smart Service for Deleting Groups
arunkumarc
over 7 years ago
Hi,
I am looking for some Smart Service which can give us to delete a Group from Process model.
I can see smart services Like "Delete Department" "Delete Team". Is there anything similar for Delete Group?
Thanks
OriginalPostID-257795
Discussion posts and replies are publicly visible
0
sowjanyav430
over 7 years ago
@Arun,
AFAIK..I don't think we have such smart services to delete a group from process model.
Can you please tell me the scenario which you want to implement it dynamically instead of deleting the group from designer..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
arunkumarc
over 7 years ago
@sowjanya : Thanks for your response. We are planning to provide a related action in Groups record where Business user can delete their own groups from UI after removing all membership(Like Renaming or Creating new Groups). Instead of going and deleting from designer portal.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 7 years ago
@arunkumarc, There are relevant methods in API to delete the custom groups. Also, you can check this application called "Group Management temp application". It pretty much has what you are trying to build.
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 7 years ago
Check the GroupService interface in he public API. It has few methods like removeAdminGroups, removeGroupsFromMyGroups etc. Although it is not exactly what you are looking for, it comes pretty close. You can create a smart service which uses this API and which can delete a group given a groupId
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
arunkumarc
over 7 years ago
@chetany : Thanks for your response. We have already having "Group Management". Not getting proper way to achieve delete a group by Process models.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
samiullahm
over 7 years ago
We can delete any custom group using smart service "Delete Team" and to edit group properties use smart service "Edit Team Properties". Remember once you delete the group the group id will no longer available in system for future use.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 7 years ago
@samiullahm is correct. If you create a pv of type group (and set to a custom group)and point it to the custom group and map it to the input 'Team' of the "Delete Team" smart service, it does work!
But, I have also noticed an odd thing. If you are not using a PV and are trying to map it directly by browsing for groups, then you can only select groups which are Teams.
So, you can use a PV containing the custom group and it will work.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
arunkumarc
over 7 years ago
Thank @samiullahm & @chetany : Its working as expected. Thanks for your valuable suggestion Cheers!!!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Poorna Guduri
A Score Level 1
over 7 years ago
@arunkumarc, From 17.1 release you won't be able to this smart service because they got deprecated. Replacement Smart Service - Delete Group - should help you out. Please make a note of it, if you have any plans to migrate in future.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 7 years ago
@poornah, technically deprecated smart service can still be used. But it's not recommended.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>