The values are not changing in the RITM or Catalog task variable type

rahul16
Giga Guru

rahul16_0-1666164320463.png

 

I have category and subcategory in the service portal it's working fine subcategory values change based on the category but when I want to change the values in the RITM form or SC task it's not working

And also I see when I select the category and save the form and then I see the subcategory new values based on category how to overcome this problem?

rahul16_0-1666170426436.pngrahul16_1-1666170430061.png

 

I created a UI policy to make the fields edit on the request item form 

rahul16_0-1666170641887.png

 

1 ACCEPTED SOLUTION

Add this in the Variable attributes of subcategory.

ref_qual_elements=category.

View solution in original post

5 REPLIES 5

Muhammad Khan
Mega Sage
Mega Sage

Did you use onChange() catalog client script for this?

If so, then make sure that Applies on Requested Items and Applies on Catalog Tasks checkboxes are checked/true.

I have updated the question can you please check

no i use lookup field 

rahul16_2-1666170376751.pngrahul16_3-1666170379513.png

 

Add this in the Variable attributes of subcategory.

ref_qual_elements=category.

Ankur Bawiskar
Tera Patron
Tera Patron

@rahul16 

How have you configured the dependency between those 2 variables?

is it based on sys_choice? or is it based on script?

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