- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2025 03:24 AM
HI Community,
Currently the Retired and Non-Operational Service Offerings can be tagged to the Incident,Requested Items, Problems and Change forms which should be restricted as it defies the logic of active service offerings.
How can we achieve this the service offering is OOB Field and in the ref qual there seems a script in it
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2025 04:45 AM - edited 03-07-2025 04:58 AM
Hi @suuriyas ,
The "service offering" field on the incident table is inherited from the task table. So you need to do a dictionary override to change the reference qualifier just for incident table.
- Just open the dictionary entry, go to the related lists and look for dictionary overrides.
- Open the incident record and modify the reference qualifier
- Use a qualifier like "javascript:(!gs.nil(current.business_service) ? 'parent=' + current.business_service + '^operational_status!=2^operational_status!=6');"
- Repeat the same steps for Problem, RITM and Change.
Let me know if this works. Please mark my response as "helpful" or "accepted as solution" if its helps you.
Thanks,
Rishi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2025 03:28 AM
Are you saying that a user can select a retired offering, which you don't want to be selected? If that's the case, you need to add another attribute to the offering status
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
03-07-2025 03:57 AM
HI @Dr Atul G- LNG ,
I tried like this but it is not working still i can able to add non operational and retired offerings
javascript:'operational_statusNOT IN2,6^parent='+current.business_service;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2025 04:14 AM
Hi @suuriyas
You are doing this on the task table but you need to do this on incident - dictionary override
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
03-07-2025 04:22 AM
HI @Dr Atul G- LNG ,
Tried the same but it did not worked
javascript:(!gs.nil(current.business_service)? 'operational_statusNOT IN2,6^parent='+current.business_service: 'u_for_classification=it');