Need to populate the service offering field value on the incident form, based on the caller location
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2025 05:59 AM
Hi Team,
Need to populate the service offering field value on the incident form, based on the caller location. I want filter the Service Offering choices based on the location on the incident form and for the look up to contain not only the name of the Service Offering but its Parent TS and the TSO Location.
Regards,
Abhilasha G T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 06:22 AM
Hi Sandeep,
is there any other approach like, dynamic reference qualifier on the Service offering that takes as variables the location and service.
Do let me know, instead of wring client scripts and scriptinclude.
Regards,
Abhilasha G T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 06:30 AM
you want auto population or want to restrict? both are different things
1) auto population means it will populate the value from table matching your query
2) if you want to restrict then use reference qualifier like this
javascript:'location=' + current.caller_id.location;
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 10:13 AM
Hi Ankur,
Need to populate the service offering field value on the incident form, based on the caller location. I want filter the Service Offering choices based on the location on the incident form and for the look up to contain not only the name of the Service Offering but its Parent TS and the TSO Location.
Regards,
Abhilasha G T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2025 10:32 PM
Hi Ankur ,
Thanks for the reply.
I posted client script and script include that i written.
Regards,
Abhilasha G T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2025 10:38 PM
script looks good to me.
What debugging did you perform?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader