"New UI" not working for HR Case templatesDescriptionUnder certain circumstances, when the HR template is accessed in the New UI, the fields are not populated.Steps to Reproduce 1. Navigate to HR Administration > HR Services > HR Templates 2. Open a template with the Table field different than sn_hr_core_task (i.e. '401(k) Retirement Plan Inquiry')https://instance_name.service-now.com/sn_hr_core_template_list.do?sysparm_query=table!%3Dsn_hr_core_task 3. Make sure you are using the 'New UI'. If not, select the 'Switch to New UI' action. Observe that the fields are not populated. you might also see an error in the browser console. WorkaroundIn Script Include 'HRServiceCreatorUtilAjax'https://instance_name.service-now.com/sys_script_include.do?sys_id=0db2d96c3b8032005a10695593efc432 Replace line 670 (line number can vary slightly based on exact release and patch level): var coe = this.getParameter('sysparm_coe'); with var coe;if(!gs.nil(this.getParameter('sysparm_coe'))) coe = String(this.getParameter('sysparm_coe')); So it will look like this: ...if (!grTemplate.canRead() && !gr.canCreate()) return null;var coe;if(!gs.nil(this.getParameter('sysparm_coe'))) coe = String(this.getParameter('sysparm_coe'));var jsonTemplateFieldValues = _getTemplateMap(sysid);... Note that there are other occurrences of the line var coe = this.getParameter('sysparm_coe'); in the same Script Include. The above one is the only one that needs to be updated.Related Problem: PRB1499072