Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Global search in HR Agent Workspace not displaying results for some users?

Dario Idrovo1
Tera Contributor

I am facing an issue where only admins are able to get results whenever we do a search in agent workspace, however if I impersonate a user with the HR Basic role, they don't get any results (see below)

If I search for "payroll support" as a manager or an admin, I get results for HR Cases, knowledge, etc...

If I do the same while impersonating somebody without a manager or admin role, I get zero results as shown below. 

find_real_file.png

1 ACCEPTED SOLUTION

John Zhang1
Kilo Patron
Kilo Patron

You do the following steps for your requirement:

1)  Create 1 read ACL in workspace scope with 'sn_hr_core.case_writer'  or  'sn_hr_core..basic'role for the sys_search_source and

2) Create 1 read ACL in workspace scope with 'sn_hr_core.case_writer' or  'sn_hr_core.basic'role for the m2m_search_context_config_search_source tables

3) Do a cache.do

 

If my reply is Helpful/Correct, please mark the answer as Helpful/Correct

View solution in original post

2 REPLIES 2

John Zhang1
Kilo Patron
Kilo Patron

You do the following steps for your requirement:

1)  Create 1 read ACL in workspace scope with 'sn_hr_core.case_writer'  or  'sn_hr_core..basic'role for the sys_search_source and

2) Create 1 read ACL in workspace scope with 'sn_hr_core.case_writer' or  'sn_hr_core.basic'role for the m2m_search_context_config_search_source tables

3) Do a cache.do

 

If my reply is Helpful/Correct, please mark the answer as Helpful/Correct

Thank you! That worked like magic! I had initially created an ACL on the Global Search Config table, which did not work. But your suggestion worked 100%