- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 06:55 AM
Hello Team ,
Is there any option / a way to change a Multi row variable set to Single row variable set in catalog item ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 07:17 AM
Hi @soumyadaggula ,
You can change that by using background script :-
var gr=new GlideRecord("item_option_new_set");
gr.addQuery('sys_id','13a1dfdc2f9711107a532ca62799b6bf'); //replace your MRVS sys_id here
gr.query();
if(gr.next()){
gr.type='one_to_one';
gr.update();
}
Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 07:17 AM
Hi @soumyadaggula ,
You can change that by using background script :-
var gr=new GlideRecord("item_option_new_set");
gr.addQuery('sys_id','13a1dfdc2f9711107a532ca62799b6bf'); //replace your MRVS sys_id here
gr.query();
if(gr.next()){
gr.type='one_to_one';
gr.update();
}
Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 07:23 AM
Hello Gunjan , thank you So much , i will try that now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 07:28 AM
It worked , thanks a ton Gunjan !!