why the add/romoveOptions is working in catalog form but not on RITM & SC Task

sivagangadharre
Tera Contributor

Hi,

I have a requirement that based on option1 in one variable, the other variable should only display V1&V2. If i select option2 then other variable should only display V3&V4. i have written on change client script and it is behaving as expected in service portal. But the problem is the script is not working on RITM and SC Task variables eventhough i Checked applies on RITM & task checkboxes. the second variable is showing all the options in it. any suggestion is helpful and appreciates. Thank you!

sivagangadharre_1-1681504461837.pngsivagangadharre_2-1681504560858.pngsivagangadharre_3-1681504612745.png

 

 

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@sivagangadharre 

are you sure on RITM form there is no other UI policy or client script which is blocking your logic or overriding it?

Also on SC TASK are you sure those variables are included on form in the variable editor?

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

Hi @Ankur Bawiskar  i have a requirement.

Could you please check this thread and help me out

 

https://www.servicenow.com/community/developer-forum/export-to-email/m-p/2537939#M988436