
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
07-20-2023 06:37 AM - edited 07-20-2023 06:44 AM
Temos um Catalog Item (sc_cat_item ou sc_cat_item_producer) que travou em Publishing ( ) e desde ontem não finaliza
A edição fica bloqueda
Qual a solução? Boa pergunta se souber, se encontrar uma solução oficial documenta por favor comente.
Se houver não a encontramos, encontramos outras similares e nos baseamos nelas. How ever...
A mensagem apresentada:
"This item is in the process of being published. Please do not edit the item"
We have a Catalog Item 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"
Do que foi possível identificar pode ser usado para os items
Catalog Item
Maintain Item
Record Producer
Description | |
Sintoma / symptoms |
|
SOLUÇÃO | SOLUTION |
01. Copie o sys_id do item
Copy sys_id
|
|
02. >> All > System Definition > Scripts - Background |
|
03. Execute o código ao lado
|
|
E é isso ai! Este workarround solucionou!
var sys_id = 'e1ba3411db0011113d11b11ba19111e0'; //sys_id of your item
var grrp = new GlideRecord('sc_cat_item'); //Glide Record
grrp.get(sys_id); //Search by sys_id
gs.info("===> " + grrp.state ); //Control
grrp.state = 'published'; //setting value
grrp.update(); //update
|
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1122801
- 215 Views