TEST
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 04:52 AM - edited 03-26-2024 08:14 PM
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 04:55 AM - edited 03-26-2024 05:07 AM
Try :
var transferOnly = request.getParameter('software_model');
if (transferOnly == '1') {
gr.name = gr.name + " (Transfer Only)";
}
gr.product_catalog_item = (new ProductCatalogUtils()).createProductCatalog(gr, sc_category, type, catalog);
gr.update();
response.sendRedirect(catalog + ".do?sys_id=" + gr.product_catalog_item);
} else {
var urlOnStack = GlideSession.get().getStack().bottom();
response.sendRedirect(urlOnStack);
}
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....