Client Script in HR workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
so what debugging did you do?
Ensure Global Checkbox is Checked for your client script.
Did you check what came in alert for the JSON? i.e. alert(JSON.stringify(answer))
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Ankur Bawiskar , I have put the logs and checking all are returning the values correctly, but only for HR case coe that too in workspace its not updating the country.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
what do you mean by HR Case COE?
for which HR case table it's not working?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
sn_hr_core_case -- for this COE

