Client Script in HR workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi Team,
We have client script- on change of affected employee on sn_hr_core_case table, it populated affected employee country in HR case.
This working fine in native view for all HR tables and related COE tables.
Client script UI type - All.
In HR workspace, when we change the affected employee for other COE tables(sn_hr_core_case) its populating the affected employee country.
But for sn_hr_core_case cases in workspace, its not populating country on change of affected employee. Why this happens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
In Your client script,
Set the "Isolate Script" field on the client script to "True" and that should help resolve the issue.
Please refer to below articles:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1220159
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0960131
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
All are already set to true, even then its not working for specific COE- from workspace alone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
for some it's not populating?
Does that user have country populated?
share your script and config screenshots
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
