Getting empty variables in RITM form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2020 10:46 PM
Hello All,
I have created a variable set and few variables in that. Variables are like Requested for, Manager, Location, Department and Company. As you can see , these all are reference type variables. I have created a Script Include and Catalog Client Script to populate these variables based on Requested For selected. Now my script include and client script is working fine and all the values are getting populated, but when I click on Order Now and go to RITM record, except for Requested For variable, none of the variables are getting populated. Because of this, I am not able to create manager's approval through workflow as there is no value in Manager Variable in RITM record.
I have seen some community posts which says variable set's name and variable's name should not be same. And I already have different names for both.
I am attaching an image Of RITM record for reference.
Thanks in advance,
Ishita Shrivastava.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2020 11:59 PM
Hi Harshvardhan, I created two variables named as Requested For and Manager. And Manager's value did get populated on RITM form, so I thought of creating other variables also. But then , after creating all other reference variables and making changes in Catalog Client Script, I am again having empty variables on RITM form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2020 12:03 AM
Hi,
please share the script with screenshot?
Did you confirm variable info is stored in this table once user Submits RITM
Table -> sc_item_option_mtom
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2020 12:44 AM
can you add the script also the screenshot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2020 10:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2020 11:06 PM
Hi Abhishek, I tried what you suggested, but still it's not woring.