07-23-2015 05:02 AM
protected void searchPeople(String searchText) {
if (searchText.length() >= 2) {
matchingUsersTable.removeAllItems();
List<User> results = ProcessEngines.getDefaultProcessEngine()
.getIdentityService()
.createUserQuery()
// .userFullNameLike("%" + searchText + "%") // this code is incorrect
.userFullNameLike(searchText)
.list();
for (User user : results) {
if (!multiSelect || !selectedUsersTable.containsId(user.getId())) {
if (ignoredUserIds == null || !ignoredUserIds.contains(user.getId())) {
addMatchingUser(user.getId(), user.getFirstName() + " " + user.getLastName());
}
}
}
}
}
07-23-2015 05:53 AM
07-23-2015 06:05 AM
07-28-2015 07:26 AM
07-28-2015 08:16 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.