Restrict use of Retired and Non-Operational Service Offerings on Incident,Requested Items, Problems

suuriyas
Tera Contributor

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

suuriyas_0-1741346650480.png

 

1 ACCEPTED SOLUTION

Rishi_11
Kilo Sage

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.

View solution in original post

7 REPLIES 7

 

@Kieran Anson  could you please help here.

 

*************************************************************************************************************
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]

****************************************************************************************************************

Hi,

Are you sure you want to operational status? Service Offerings use Phase & Status

Rishi_11
Kilo Sage

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.