Why Catalog task is automatically created with request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2022 12:24 AM
I have created a catalog item. When the request is submitted, two catalog tasks are automatically created. Why did this happen? I didn't add any workflow to my catalogue item. How can I stop this? This issue starts today I never got this error before.
Please help me ASAP.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2022 12:38 AM
Hi,
is this happening to other catalog items?
Things to check
1) workflow
2) flow on that catalog item
3) after business rule on Approval or RITM table
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2022 12:48 AM
No workflow and flow is added to this catalog item.
This issue starts today. all newly created catalog item has this issue.
I have converted a Record producer to Catalog item. Is this issue is due to that ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2022 12:51 AM
How did you convert?
What happens if you create a fresh catalog item? same issue for it?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2022 12:56 AM - edited 10-12-2022 12:56 AM
var gr = new GlideRecord('sc_cat_item');
if(gr.get('7434fcaf4f228410e7fe0ab18110c7dc')) {
gr.setValue('sys_class_name', 'sc_cat_item');
// gr.setValue('sys_class_name', 'sc_cat_item_producer');
gr.update();
}
converted using the above script(In background script).
When i create new items, the same catalog tasks is available.