unwanted variables in ritm form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 06:30 PM
Hi Team ,
I have submitted a request from Service portal .
But when i checking in platform , some unwanted variables are coming ,
UI Ploicy also good , there is mistake .
can anyone please provide me the OnLoad Cilent script . for this kind of problem .
can anyone please provide me the script .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 06:35 PM
Hi @nameisnani ,
You should use catalog item UI Policies that are effective on the request item and catalog task records to then hide. So these would only be visible on the catalog item (end-user form) initially:
Other reasons why the fields won't hide is if their mandatory or you have other scripts causing them to not be hidden. Please double-check for these fields.
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 06:50 PM
Hi @Sumanth16
For above screenshot, this is UI Plocy ,
I have checked for both the check box , still it is not working , Idk why ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 07:00 PM
Hi @Sumanth16
Please see this 2nd sineriao also
submitted the request total 8 variables .
if i checked in platform ,2 unwanted varaibles are showing .
This is the UI Policy for this ,
How to resolve this
NOTE :- Short Descp and Descp are coming from the variable set

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 07:29 PM
Hi @nameisnani you need to create a UI Policy and set the variable as non mandatory since these variables are coming from variable set.
you can also write a onLoad client script on RITM table with below script.
g_form.setMandatory('variables.variablename',false); //for example variables.short_decription
Harish