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
4 replies
Subscribers
9 subscribers
Views
1749 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Within a servlet, given a task ID, I want to be able to tell if that task is ass
nickw
over 9 years ago
Within a servlet, given a task ID, I want to be able to tell if that task is assigned to a Custom User group. I'm able to get the the list of assignee's with the code below, but how do I use that list to be able to tell if the assignee is a custom user group?
TaskDetails details = pes.getTaskDetails(ID);
Assignment.Assignees[] assignees = details.getAssignees();
Any help would be appreciated. Thanks!
OriginalPostID-175464
OriginalPostID-175464
Discussion posts and replies are publicly visible
Parents
0
Sumeet Khare
over 9 years ago
check ObjectTypeMapping.TYPE_USER == assignees[1].getType() --- if it is a user then this will be true else its a group.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Sumeet Khare
over 9 years ago
check ObjectTypeMapping.TYPE_USER == assignees[1].getType() --- if it is a user then this will be true else its a group.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data