- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2019 12:33 PM
Hi community,
Does anyone know if its possible to render catalog variables in the new mobile app? We have a variable formatter that displays on our Incident and Case records in the native UI, when records are created via a record producer and have variables populated with data. I'm wondering if these can be displayed in the new mobile app or not.
Thanks,
Steve
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2019 02:24 PM
So this is going to be a little convoluted, and I haven't quite figured out how to make it look presentable, but it mostly works. You will have to try to stay with me as I'm no teacher.
First off, you will have to start with the table that those options and values exist: sc_item_option_mtom
You will want to make a new Data Item configured like so:
It doesn't really matter what you name it, as long as you remember what it is. I like to name things what they are, so I just stuck with the table name for this demo.
From here, you need to make the Applet, or Screen, that you will view this data from. I configured mine like this (for demo purposes):
We won't use Autofill, and notice that we have the display turned off, this is important.
I'll leave the data display up to you.
After you have created that Applet, you are going to want to link your RITM applet (you could use sc_task as well I assume, you'll just have to dot walk a bit to get to the RITM sys_id) via a navigation. Make a new Navigation and configure it like this:
Now you have a navigation that will go from the RITM, and auto fill the sys_id of it into our sc_itm_option_mtom screen, which will then only display options from said RITM.
To add this to your RITM list, you will want to go into your RITM applet (or possibly a sc_task applet with some dot walking to display RITMs) and add either a swipe function to the primary screen with your navigation (will only work if your primary screen shows the RITM) or as a function on your details screen:
I hope this is helpful. I will be exploring this in my own instance further for use in our company, right now it's a little rough around the edges, but it does work to display the options.
Note: Any option that references another table is going to show a sys_id. I've yet to explore converting that to readable data as I just came up with this about 20 minutes ago.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2019 02:27 PM
Hmm it doesn't seem to work for variables that are on regular record producers. I just tried adding the 'Questions' field but that doesn't seem to work. I see a field in the app called '$(questions)' but none of the data shows. Maybe it only works for regular catalog (RITM/SCTASK) variables...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2019 07:16 AM
Hello - I am wondering if anyone has figured out a way to translate a reference from displaying the sys_id? This has worked for me, but when there is a reference it is showing the sys_id. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2019 10:58 AM
Can anyone confirm this actually works? I am not having any luck getting variables to show up in the Mobile Agent app. We have setup all of our offerings relying heavily on variable sets and it would be huge if we could utilize variables straight from the app when my techs are in the field. I tried following the steps above and was not able to set a Data Item Parameter under the Screen UI Parameter Mapping even though there is a parameter specified on my data item. I would also greatly prefer to be able to just set the variables field in my tasks applet but that doesn't ever show any information for me when I try it. Any advice or help would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2019 12:12 PM
Hey Jason,
I did get this working for question variables so they are accessible from Cases. I also had to add an ACL to the question_answer table but it does work at least. Presumably it should also work for RITMs. It's been a while since I set it up, but it does work.
Thanks,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2020 09:00 AM
Please look at the post as this might be helpful.
https://community.servicenow.com/community?id=community_question&sys_id=db7fd237db54d4105ed4a851ca961975