- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 04:05 PM
Hello everyone,
We have a Record Producer that is displaying the following message each time it's opened: "This item is in the process of being published. Please do not edit the item". That's, all the fields on the form such as Name, Table name, State, Short description, Script etc. can not be edited because they are all grayed out. What could have caused this problem, and how can we resolve it please?
Thanks.
Solved! Go to Solution.
- Labels:
-
Multiple Versions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 04:21 PM
On the record producer, check the value of the field "State" and see if it is set to "publishing". If so, you will need to update the record to be in a published state. This can happen when a publish action from catalog builder doesn't complete properly.
You can use a background script like this, just update with the sys_id of your record producer
var sys_id = '0d61280e07eae850c5cff1e08c1ed0b1'; //sys_id of your record producer
var rp = new GlideRecord('sc_cat_item_producer');
rp.get(sys_id);
rp.state = 'published';
rp.update();
I hope this helps!
If this was helpful, or correct, please be kind and mark the answer appropriately.
Michael Jones - Proud member of the GlideFast Consulting Team!
Michael D. Jones
Proud member of the GlideFast Consulting Team!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 04:21 PM
On the record producer, check the value of the field "State" and see if it is set to "publishing". If so, you will need to update the record to be in a published state. This can happen when a publish action from catalog builder doesn't complete properly.
You can use a background script like this, just update with the sys_id of your record producer
var sys_id = '0d61280e07eae850c5cff1e08c1ed0b1'; //sys_id of your record producer
var rp = new GlideRecord('sc_cat_item_producer');
rp.get(sys_id);
rp.state = 'published';
rp.update();
I hope this helps!
If this was helpful, or correct, please be kind and mark the answer appropriately.
Michael Jones - Proud member of the GlideFast Consulting Team!
Michael D. Jones
Proud member of the GlideFast Consulting Team!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2022 08:21 AM
Hi Michael,
Thank you for the above information, it helps resolve the state to "published".

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 05:45 PM
Any chance you are using Catalog Builder and the record producer is checked out?