Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
Replies
14 replies
Answers
1 answer
Subscribers
6 subscribers
Views
9359 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Get groupId from UUID of the group
chetany
A Score Level 1
over 8 years ago
Hi All,
I want to get the groupId from the groupUUID.
I searched the public Java API - but I did not find anything relevant.
Is it possible to do so?
OriginalPostID-237153
Discussion posts and replies are publicly visible
0
Josh
Certified Lead Developer
over 8 years ago
There is a function from this shared component that will get the uuid of a group for you.
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Josh
Certified Lead Developer
over 8 years ago
Slight correction: looks like the function was moved to a different shared component "- The getgroupuuid has been removed from this component as it is now available in the People Functions plug-in"
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 8 years ago
@joshl, Thank you for the reply. But, I need the groupId from the groupUUID (and not the reverse).
The getgroupuuid returns UUID from the group/groupId
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Josh
Certified Lead Developer
over 8 years ago
Ah I misread your question! Unfortunately, I don't of a method for this off the top of my head.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Ashvin Kapur
over 8 years ago
Chetany - it really depends on the use case for your request. If for one-time (or infrequent) use, you could download the application containing the group, unzip the folder, and search within the XML files for the group uuid. This will provide you additional information around the group in question
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jamie Loizou
Appian Employee
over 8 years ago
The "Content Details by UUID" shared component provides the getcontentdetailsbyuuid function. I frequently use this when investigating deployment issues, for example. However, I've found through testing a few group UUIDs just now that it isn't recognizing group UUIDs: "No object with this UUID has been found."
@Eduardo, can you confirm if the function is configured to search groups? If not, is there another function apt for Chetan's need?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Ashvin Kapur
over 8 years ago
The function cannot be used for groups from my experience. That's why I have resorted to the "find in files" mechanism described above to check the app contents.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chandhinir
over 8 years ago
@Jamie, Please check the below link for more details.
forum.appian.com/.../e-104224
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 8 years ago
@ashvink, Thank you for the reply. However, I need to implement it in the plugin code.
@Jamie, I too first thought that "Content Details By UUID" would help. However, it does not return the information. The reason maybe that "Content Details by UUID" is only for objects which are considered as a Content - which include documents, folders, rules, queryRules,interfaces and constants. But a group is not considered as a Content, and hence ContentDetailsByUUID won't help.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Josh
Certified Lead Developer
over 8 years ago
One workaround for you issue is to 1. Grab all groups (getAllGroups() in the group function plugin) 2. Return their uuids (getGroupUUID() in the group function plugin) 3. match the list of uuids with your uuid 4. return the selected group id
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>