- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2020 11:53 AM
I have a 3 catalog item but i wanted them to a Record Producer now. Since there are many variables and is there any easy way to create it rather than manually creating a record producer again.
Thank You Team.
Appreciate all your Help.
Solved! Go to Solution.
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2020 12:26 PM
No worries Rachel.
Glad that the solution have worked out. But I was the first 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2020 12:01 PM
You can run this script as a background script.
var gr = new GlideRecord("sc_cat_item");
gr.get("sys id of the catalog form that you want to change to a record producer"); gr.sys_class_name="sc_cat_item_producer";
gr.update();
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2020 12:02 PM
Hello Rachel,
You may find below thread helpful.
Script:
var gr = new GlideRecord("sc_cat_item");
gr.get("sys id of the catalog form that you want to change to a record producer");
gr.sys_class_name="sc_cat_item_producer";
gr.update();
Script Reference :https://community.servicenow.com/community?id=community_question&sys_id=545ffe69db58dbc01dcaf3231f96...
- Pradeep Sharma
- Pradeep Sharma

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2020 12:05 PM
Yes, Simply use below script as a background script which ensure variables are also intact.
var gr = new GlideRecord("sc_cat_item");
gr.get('sys_id_of_catalog_item'); //Sys_id of catalog item to be changed to record producer
gr.sys_class_name="sc_cat_item_producer";
gr.update();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2020 12:10 PM
Thank You,
It is working Fine