Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Is there a way to change a catalog item to a record producer

Cupcake
Mega Guru

I created a catalog item, but after further conversation with the customer, this now needs to be a record producer.

Is there a way that I can change the catalog item to a record producer without loosing the work that I did already?

This is my first time creating a record producer.

Thanks,

Karen

1 ACCEPTED SOLUTION

Cupcake
Mega Guru

Hey everyone I posted this question 3 years ago, but I found a way. 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();

 

Hope this is helpful to someone.

 

Karen

View solution in original post

20 REPLIES 20

Treva1
Kilo Contributor

do you have instructions on where to run the background script?