How to query RITM by Variable Value using a GlideRecord - Developer Community - Question - ServiceNow Community


PHOTO EMBED

Wed Dec 09 2020 18:03:53 GMT+0000 (UTC)

Saved by @nhord2007@yahoo.com #servicenow #inboundemailactions

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);
}

content_copyCOPY

https://community.servicenow.com/community?id