
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2022 02:52 PM
Greetings,
I have a record producer that appears with state of "Publishing" without the buttons "Edit in Catalog builder" nor "Cancel Checkout":
In Catalog Builder the record producer appears twice.
We can edit the item, click on the submit, but it reverts back to this.
Any help is appreciated.
Kim
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2022 03:36 AM
Step 1:
Go to Record Producer page and Filter your catalogue Item
https://instance-name.service-now.com/nav_to.do?uri=sc_cat_item_producer_list.do?sysparm_query=&sysparm_first_row=1&sysparm_view=
Step 2:
Delete the in active record record (i.e., In Catalog builder it's state will be Draft)
Step 4:
Open the active record now.
Step 4:
Please check whether you are able to see the UI buttons on the form and the message highlighted.
Step 5:
If you are able to see the UI button, then you can cancel checkout or edit item in Catalog builder and submit to publish it.
else
Please use the below backgroud script to update the state to published for your record producer.
Please update the sys_id marked BOLD in the script to your record producer sys_id
var gr = new GlideRecord("sc_cat_item_producer");
if(gr.get("2d8582fd2f1020108cb85ff62799b6fc")){
gs.print(gr.state);
gr.state = "published";
gr.setWorkflow(false);
gr.update();
}
After running this script, you will definitely see the UI buttons back on the form.
Thanks & Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2022 03:36 AM
Step 1:
Go to Record Producer page and Filter your catalogue Item
https://instance-name.service-now.com/nav_to.do?uri=sc_cat_item_producer_list.do?sysparm_query=&sysparm_first_row=1&sysparm_view=
Step 2:
Delete the in active record record (i.e., In Catalog builder it's state will be Draft)
Step 4:
Open the active record now.
Step 4:
Please check whether you are able to see the UI buttons on the form and the message highlighted.
Step 5:
If you are able to see the UI button, then you can cancel checkout or edit item in Catalog builder and submit to publish it.
else
Please use the below backgroud script to update the state to published for your record producer.
Please update the sys_id marked BOLD in the script to your record producer sys_id
var gr = new GlideRecord("sc_cat_item_producer");
if(gr.get("2d8582fd2f1020108cb85ff62799b6fc")){
gs.print(gr.state);
gr.state = "published";
gr.setWorkflow(false);
gr.update();
}
After running this script, you will definitely see the UI buttons back on the form.
Thanks & Regards,
Vasanth

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2022 12:50 PM
Greetings Vasantharajan,
Thank you!
What I did with your steps...
- Followed successfully.
- Followed successfully.
- Followed successfully.
- On "Step 4" the UI Buttons were still not visible.
- Could not cancel checkout.
Proceed to run fix script with the appropriate sys_id.
As "admin" I could not cancel checkout. However, the item owner was able to open record producer in Catalog Builder and cancel checkout.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2023 12:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2023 11:21 PM
@Bruno Moreira1 - Could you please check flow designer execution for subflow "Catalog Builder - Item review base flow" and understand the error why it's reverting to Draft instead of publishing it.
Thanks & Regards,
Vasanth