Variable not showing on RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
I have a catalog item and I have all variables showing but one and I can't figure out why it will not write to the RITM. I have tried unchecking hidden and everything else AI suggested. Does anyone have an suggestions? I do have base hide policy with it included but even if I remove that it still doesn't show.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @annieporter
Hi,
I would first confirm whether the variable is actually being saved or only not showing on the RITM.
Please check the backend records for that RITM in sc_item_option_mtom and the related sc_item_option record. If the variable/value is missing there, then it is not being written during submission or it is getting cleared before submit. If it exists there but does not show on the RITM, then it is more likely a display issue.
Things to check:
Variable is active and has a proper unique name
Variable type is a real input type, not label/container/info-only type
No duplicate variable names on the item or variable set
Catalog UI Policy is not hiding it with “Clear the variable value” enabled
UI Policy is not applying on Requested Item and hiding it on the RITM
Catalog Client Script is not using g_form.clearValue(), setValue(), setDisplay(), or setVisible() for that variable
Variable Set UI Policies / Client Scripts are not affecting it
Variable has an actual value during submit
Test with a brand-new request after changes, not only old RITMs
Check whether it is saved in backend but hidden from Variable Editor
My first check would be sc_item_option_mtom/sc_item_option. That will tell whether the issue is with saving the variable or only displaying it on the RITM.
Please mark this as Helpful or Accept as Solution if it helps.
Please mark this as Helpful if it helps.
If this addresses your question, please mark this response as Accepted Solution
or mark has helpful
if you find it helpful.
Thank you!
TejaswiniY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @annieporter, in my experience, it's usually one of a couple things:
- The Global field is not set to true on the variable.
- The Hidden checkbox is set to true on the variable.
- There are conflicting UI policies causing it to be hidden.
- The UI policy only applies to the Catalog View and not the RITM/SCTASK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @annieporter
1. If you are using a UI Policy to hide/show fields conditionally, Reverse if False can create logic conflicts.
Open the UI Policy that impacts this variable, uncheck the Reverse if False box, and test the submission again.
2. Open your Catalog UI Policy or Catalog Client Script. Make sure the checkboxes for Applies on Requested Items and Applies on Catalog Tasks are selected
3. Navigate to the specific variable definition in your platform view. Add the Global column to your form layout and ensure it is checked as true
4. On the RITM form, right-click the header, go to Configure > Form Layout, and verify there is only one Variable Editor on the form
5. Navigate to sc_item_option_mtom.list in your navigation filter. Filter for your RITM number. If the variable name and its value appear here, the data is being stored, and your issue is strictly a form rendering/UI Policy
problem
6. Ensure the Item field on the RITM form is populated with the correct Catalog Item so the system knows which variables to reference.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
even not visible for admin on RITM variable editor?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader