var gr = new GlideRecord('sc_item_option_mtom'); gr.addQuery('sc_item_option.item_option_new.name','item_name'); gr.addQuery('sc_item_option.value','item_value'); gr.query(); while (gr.next()) { gs.addInfoMessage(gr.request_item.number); }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter