We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Field dependency between Two fields in Incident form

chaithanya gund
Tera Contributor

Hi Team,

 

I have two fields in Incident Form 1. Sub Category (Which is Choice List ) and Service Offering field ( which is a Reference field to Service_offering table where 44 choices are present). 

 

My Requirement is when a Particular Sub category is selected for Ex: Hardware then only Service Offerings related to Hardware should be visible in the Lookup of Service Offering (Ex: 4 Service Offering are related to Hardware) and remaining 40 Choices in table shouldn't be Visible. And in the same way Sub category is selected for Ex: Software then only Service Offerings related to Software should only be visible in the Lookup of Service Offering and other choices should be hidden.

 

How can i Achieve this requirement. Request you to provide your Suggestions.

 

Thank You!

1 REPLY 1

UmesH77
Giga Guru

hey @chaithanya gund  , 

Service Offerings are dependent on the service field (business_service) and that is OOTB servicenow configuration.

still you want to override that you can change the reference qualifier and select it as Advanced and "javascript:'parent='+current.business_service;" chnage code according your need .

 

but that is OOTB configuration , so make changes carefully .

 

regards, 

umesh