Display Service Offerings based on Incident Category

Nisha30
Kilo Sage

Hi,

 

In Incident Form, we do want to display list of only those Service Offerings , whose category = xxx (there is a field in SO table as string field) , matches with the incident category =xxx on the form.

 

example: If incident category = hardware, and in cmdb_ci_service table whichever records are having category = hardware, 

should be available.

 

Thanks

1 ACCEPTED SOLUTION

Hi @Nisha30 ,

then you can try putting this in the reference qual

ChaitanyaILCR_0-1750853775938.png

javascript:'category='+current.category;

 

Note: if there is a dictionary override for incident (OOB there is one) put this in the dictionary override record instead

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

 

View solution in original post

9 REPLIES 9

basically we have mapped all our 'Service Offerings' taking the values from Incident Category. However Incident Category is a choice list and Service Offering is a STRING .

 

SO when in INC a category is selected, it should populate the ONLY Service Offerings which has that same CATEGORY value

Hi @Nisha30 ,

then you can try putting this in the reference qual

ChaitanyaILCR_0-1750853775938.png

javascript:'category='+current.category;

 

Note: if there is a dictionary override for incident (OOB there is one) put this in the dictionary override record instead

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

 

Thankyou it works.

not working 

Hi @Nisha30 

did you add it in the dictionary override?

ChaitanyaILCR_0-1750854919970.png

ChaitanyaILCR_1-1750854943740.png

refer this screenshot add it 

javascript:'category='+current.category;

 

if still doesn't work please share the screenshots

also check the data is exist

is category on service offering storing the backend name of the choice?

or is the choice label?

when you filter manually are getting the data?

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya