Client Script in HR workspace

PreethiG6447769
Tera Contributor

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.

12 REPLIES 12

Tanushree Maiti
Mega Sage

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

Please mark this response as Helpful & accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

PreethiG6447769_1-1770792132340.png

 All are already set to true, even then its not working for specific COE- from workspace alone.

Ankur Bawiskar
Tera Patron

@PreethiG6447769 

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! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader