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
7 subscribers
Views
1905 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Is there a way to check which custom groups are associated with objects (e.g., p
judym598
Certified Senior Developer
over 9 years ago
Is there a way to check which custom groups are associated with objects (e.g., processes, actions, etc.)? I'd like to delete those that are not being used (or are redundant) but I hesitate to do this in case there are some that are specifically linked to a process.
OriginalPostID-151483
OriginalPostID-151483
Discussion posts and replies are publicly visible
0
Mike Schmitt
Certified Lead Developer
over 9 years ago
Off the top of my head, the fastest way might be to create an application package with any (or all) processes/actions you have, and run a dependency check to see what groups are returned.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
judym598
Certified Senior Developer
over 9 years ago
That's a good idea! Thanks!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
@judym If the requirement is to deal with processes(i.e. process instances), afaik it could be done easily by designing a process to delete groups provided if one of the following is implemented:
1. If the appian group id is associated with the process instance/ work object in database tables. In this case it's a straight forward implementation - obtain the group ids from database and provide them as inputs to Delete Group smart service.
2. If you make use of the attributes of custom group - Attributes provide a possibility to distinguish the custom group objects. Here, by making use of people functions you can obtain the desired groups based on the desired attributes with desired values and finally provide these to the Delete Group smart service.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
judym598
Certified Senior Developer
over 9 years ago
Is the Delete Group a shared component? We don't have that installed.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
Yes and here goes the link:
forum.appian.com/.../summary
. Also it's cloud approved.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
judym598
Certified Senior Developer
over 9 years ago
Once we get upgraded to 7.9, I will look into adding this. Thanks for the quick responses!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel