Employee Search on Case Creation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2021 11:58 AM
When creating a new case for an employee on the case creation screen, I have a specific employee record that will not display if 'Force partial search' is checked on the Case Creation configuration record when searching by this employee's full name. The employee does show up if I search by their user_name or employee number.
I've tried increasing the page count so more results are returned, but it still doesn't appear. I'm testing on both native and hr agent workspace with the same results.
Does anyone have information on how the employee search works on the case creation screen?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2021 12:19 PM
Hi Sabrina,
Yes, the max search limit is probably being reached. We have had the same issue on multiple customers. There is a system property, glide.ts.max_wildcard_expansion, that is most likely the cause. I believe the OOB value is 500. Increase that to like 1000 or 5000 and see if it resolves your issue.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2021 12:22 PM
Just FYI, the name search should work, even when hitting this max if you use the asterisk before the name (e.g., *Susan).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2021 12:43 PM
Thanks, I upped it to 1000 and that seems to have resolved the issue, or at least provided a workaround, but I'm still curious as to how the employee search works. Do you think this is because the user I'm searching for has a common name or parts of their name are within many other names or fields used in the search terms?
I think I found that the query is built in the hr_CaseCreation script include, but still trying to reverse engineer it to understand better.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2021 12:54 PM
I just answered my own question - the employee's last name is short enough that it is contained in many other text fields.