- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello,
I'm facing an issue while creating the template on sn_hr_core_task table, see screen shot
the template field does not load any field values except for remove related fields. How can i fix this...? I tried saving the form as well but it did not load.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thank you for looking into this guys, this issue was due to "save_as_template" ACL on HR Task table. We sorted it out and implemented the fix. Thanks again for looking into this.
-Mahesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi @B Mahesh ,
How you are navigating to this new template creation page?
As an HR Admin, going to HR Administration -> HR Services -> HR Templates, clicking new, I get this view which provides me a field list. Also, have you really created 2077 Templates 😅, I'm glad customers are making use of templates, love it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hiii @B Mahesh
This is a common one on the HR Task table, and it usually comes down to how the template field list gets built. The “Template” field is a condition-style builder that loads the table’s fields through the form’s client scripts, and on sn_hr_core_task it often fails because of a stale cache, a blocked script, or a plugin or ACL issue.
Start with the quick checks first, since they fix it most of the time.
- Open the template form in a private or incognito window and try again.
- Go to the navigator, type cache.do, and press Enter to flush the instance cache.
- Hard refresh the browser with Ctrl+Shift+R and reopen the template form.
- Open the browser developer console (F12) and look for red JavaScript errors when the form loads.
If the console shows errors, a custom client script, UI policy, or UI script on the Template form (sys_templates) may be breaking it. Another possibility is a custom field on the HR Task table with a broken dictionary entry.
- Go to System Definition > Client Scripts and filter by Table is sys_templates.
- Check System UI > UI Scripts for recent custom scripts that touch the template or condition builder.
- Open the HR Task dictionary entries (System Definition > Dictionary, Table is sn_hr_core_task) and look for any recently added or inactive fields with errors.
- Check that your user has the admin role, plus sn_hr_core.admin if you work in HR scope.
Also check the scope. If you are working in the HR scope, switch your application scope to Global or Human Resources: Core in the Application Picker, then try again. The field list can fail to load when the scope doesn’t match the table’s scope.
One more workaround: create the template from the table itself instead. Open any HR Task list, right-click the header, and use Configure > Templates, or open an HR Task form, fill in the fields you want, and use the form context menu to save it as a template.
If none of this helps, tell me your release (Xanadu, Yokohama, Zurich, or later), whether it happens in other tables like Incident, and what the console error says. That will let me narrow it down quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thank you for looking into this guys, this issue was due to "save_as_template" ACL on HR Task table. We sorted it out and implemented the fix. Thanks again for looking into this.
-Mahesh.