Catalog task is not created
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2025 02:59 AM
Hi,
After submit the catalog item ritm is created but catalog task is created. Because In catalog task activity in advance script i worte below script after this catalog task is not created. Before using this script catalog task is created. Can you please provide a solution for this.
var ritm = current.sc_req_item;
var catalogItem = ritm.cat_item;
var productGR = new GlideRecord('sn_customerservice_catalog_product');
productGR.get(ritm.u_product);
var matrixGR = new GlideRecord('sn_customerservice_product_request');
matrixGR.addQuery('u_catalog_item', catalogItem);
matrixGR.addQuery('u_site_product_subproduct', productGR.u_product_site);
matrixGR.query();
if (matrixGR.next()) {
current.assignment_group = matrixGR.u_initiation_stage_assignee;
}
After this script catalog task is created.If script is worng please provide a solution for this
Thanks!
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2025 03:59 AM
Can you provide screen shots on where this script is being executed?