How to allow agents the creation of Response Templates for all HR lists?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2022 05:58 AM
Hi community,
I am facing the challenge of allowing a specific group of service fulfillers to create response templates for all HR lists.
Currently, the group of service fulfillers is only allowed to create a new Response Template for the "sn_hr_er_case" table (see screenshot).
I would be pleased if someone has an idea of what needs to be done to get all the HR lists into the table drop-down.
Thanks a mill in advance for your time!
Best,
Pascal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2022 06:05 AM
Hello,
Please explore roles related to response templates
https://docs.servicenow.com/en-US/bundle/sandiego-employee-service-management/page/product/human-resources/concept/hr-templated-snippets.html
Also, Make sure agent has hr case writer and hr basic role and see if they can see other HR tables.
Regards
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2022 06:11 AM
Hi Pascal,
Can you try changing the Application scope and create the response template again.
Then check if you are still able to see just "sn_hr_er_case" table .
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2022 08:29 AM
Hi guys,
thanks for the quick response!
Best,
Pascal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 11:15 AM
Hi @Pascal4,
I just ran into this issue today as well and here's how I fixed it. Hopefully this will help others as well.
- Go to this script include: TaskTableList
- /nav_to.do?uri=sys_script_include.do?sys_id=56b9de830b32320036e62c7885673ae1
- Rename it something like: TaskTableList_v2
- Insert and Stay
- Update this line of code currently located at line 46
Change: if( !gs.hasRole('sn_hr_core.manager') )
- To this: if( !gs.hasRole('sn_hr_core.case_writer') )
- Go to the Response Template -> Table field -> Dictionary Entry
- /nav_to.do?uri=sys_dictionary.do?sys_id=771789dfdb7700109850d054d4961986%26sysparm_view=advanced
- You should see an attributes string box with these attributes spelled out:
- allow_public=true,base_start=true,includeNone=true,show_table_names_on_label=true,tableChoicesScript=TaskTableList
- Update that last value to read:
- tableChoicesScript=TaskTableList_v2 (or whatever you renamed it to)
- Save it
- Done!
You can now impersonate an HR agent and they should have access to all the HR Tables for Response Template creation. If they don't see the tables, confirm they have the role: sn_hr_core.case_writer.