- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2017 03:28 AM
Hello,
I want to find out the type of catalog item variables, on the associated workflow.
Can anybody help me with this?
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2017 11:49 PM
var ReqItem = new GlideRecord('sc_item_option_mtom');
ReqItem.addQuery('request_item','0d72825fdb0903002f30f6dfbf9619ff');
ReqItem.query();
while(ReqItem.next())
{
gs.log(ReqItem.sc_item_option.item_option_new.type.getDisplayValue());
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2017 11:49 PM
var ReqItem = new GlideRecord('sc_item_option_mtom');
ReqItem.addQuery('request_item','0d72825fdb0903002f30f6dfbf9619ff');
ReqItem.query();
while(ReqItem.next())
{
gs.log(ReqItem.sc_item_option.item_option_new.type.getDisplayValue());
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2017 01:03 AM
Hi Girish,
I tried the above code and it worked fine for me.
Thanks so much!