On incident form 'caller' is dependent on 'company' ,when company is selected callers which are part of the company only displays when searched but when caller is selected and then company field is searched ,it displays all the companies.I want to re

priyankanaukudk
Kilo Contributor

On incident form 'caller' is dependent on 'company' ,when company is selected callers which are part of the company only displays when searched but when caller is selected and then company field is searched ,it displays all the companies.I want to restrict the companies only to which the selected user is part of.Please help how this can be achieved?

3 REPLIES 3

Shishir Srivast
Mega Sage

I believe anyways selected user will be part of one company, then in that case may be you can make the company field readonly when caller selected and when caller field is blank you can set the company field as editable using UI Policy.

Ziaur Rahman1
Tera Expert

Hi

 

"On incident form 'caller' is dependent on 'company' ,when company is selected callers which are part of the company only displays when searched" 

This above task is managed by script include which is used in dynamic reference qualifier. please find that script include and create new one script include by using same script , you just need to replace table name with each other and then apply that script include in dynamic reference qualifier in the caller field. 

 

 

Thanks

Ziaur Rahman

jonsan09
Giga Sage
Giga Sage

ServiceNow KB on the issue with possible solutions/workarounds: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0760508