RITM Variable Section has a reference field which does not get updated based on "Dependent field"

Carltan
Tera Contributor

Hi,

 

I have 2 fields under an RITM in the 'Variables' section called 'Service' and 'Classification'. 'Classification' is dependent on the value of 'Service'. This is working when creating a new work request in the Employee Center. However, when editing the RITM directly, the 'Classification' field is not being updated with values depending on the selected value from the 'Service' field. I have attached some images to provide clarification.

 

Is there a way to have the available option show up or are there any options like changing field type instead? For clarity, these are closed RITMs and these fields are only made editable using the Catalog UI Policy.

 

16 REPLIES 16

Ankur Bawiskar
Tera Patron
Tera Patron

@Carltan 

It would have been better to include images directly rather than adding as attachment

It becomes difficult opening 1 by 1 each of those and try to link them

Please share variable configuration for both the variables. It seems you added dictionary screenshots.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 

I see - I've included the following screenshots for the variables in question:

Category (reference type):

Carltan_2-1751876315522.png

 

Subcategory (lookup select box):

Carltan_1-1751876187016.png

 

@Carltan 

1s variable Category should be also Lookup select box variable

did you give variable attributes in the 2nd variable as this

ref_qual_elements=service

Also I didn't understand your ref qualifier in 2nd variable, what does "Value is" mean?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Carltan 

this is my setup and it worked on catalog form and RITM form as well

I used Lookup Select box and pointed to sys_choice table for incident category and subcategory dependency

Incident Category variable

AnkurBawiskar_0-1751878852054.png

 

Incident Subcategory variable

AnkurBawiskar_1-1751878865998.png

 

Output: The dependency works in RITM form

lookup select box incident category subcategory dependency RITM form.gif

The Dependency works on Catalog form as well

lookup select box incident category subcategory dependency catalog form.gif

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar ,

 

Thanks, I think you have pointed me in the right direction. After configuring the category(Service) as a Lookup select box and having the following setup, it shows properly in the RITM (I added the 'element' after the pre-existing conditions' under Reference Qual)

Carltan_0-1751895855663.png


However, on the sub-category (Classification), I tried to pattern it similar to yours but no values are showing up. Would you know which part am I misconfiguring this field?

Carltan_1-1751895926923.png