- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2025 07:01 AM
Issue is, when i am selecting technical service in "Service" field of Change form then after submitting the Change record the "Service offering" field getting mandatory automatically as per my expectations.
further to this when i am changing Service in "Service" field as Non Technical or Business service and then againing clicking update the change record then it's not allowing me since Service offering is mandatory,
I am try Dot walk UI Policy.
so, can we have a solution for this where Service offering gets optional once we select no Technical or Business service?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2025 06:56 AM
Define a client script for the incident table, as you have for the change_request table. The same Script Include can be used by any number of client scripts. You can copy the client script and just change the table from 'change_request' to 'incident'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2025 02:32 AM
I think what @Bert_c1 earlier must work and that is good to go. Did you try that?
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2025 03:32 AM
I tried it and its not working.
Do i need to update both the script in client script ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2025 07:25 AM
download the two files I attached (if you have problems with copy-and-paste of the scripts shown). One is the Client Script and the other is the Script Include (required since dot-walking in a UI policy has problems). Please re-read my initial post here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2025 08:47 AM
Hello @Bert_c1 Its partially working.
Such as:- When I am creating a New Change Request and selecting Service (Business Service or Technical Service) in Service field then Service offering is automatically gets mandatory (Great News) but now when i submit a change request and open again same change request then Service offering gets optional even though same (Business Service or Technical Service) is present.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2025 09:29 AM
First of all A big Thank you @Bert_c1 for sharing a best fit solution.
the only issue i observed in this is after submitting a change when we again try to reselect the same Service (Business service or Technical service) from just switching it from Non (Business service or Technical service) then Service offering is not getting mandatory.
Is there something we can take care of, Please suggest?