Allow disabling of new change request interceptor and go straight to change_request formDescriptionAllow disabling of new change request interceptor and go straight to change_request formFrom Change module Create New buttonFrom Change Request list view New buttonFrom Change Request related list New button Steps to Reproduce From Change module Create New buttonFrom Change Request list view New buttonFrom Change Request related list New button Expected: all should allow you to go to change_request.do form rather than to interceptor page or new change landing page (driven by config)WorkaroundModify record: sys_processor NewChangeRedirectProcessor sysId: 0af16f2d5363101034d1ddeeff7b12b6 From: (function process(g_request, g_response, g_processor) { g_response.setContentType('text/html;charset=UTF-8'); var referrer = g_request.getParameter("sn_new_change_referrer"); referrer = referrer ? referrer + "" : ""; var modelsActive = pm.isActive("com.snc.change_management.change_model"); // If models are active and type compatibility isn't turned on go straight to the new UI var typeCompatibility = gs.getProperty("com.snc.change_management.change_model.type_compatibility", false) === "true"; if (modelsActive && !typeCompatibility) { g_response.sendRedirect("sn_chg_model_ui_landing.do" + referrer); return; } var snNewChgOrigin = g_request.getParameter("sn_new_chg_origin") + ""; // If models is active and isn't hidden, redirect to the interceptor with models var modelHidden = gs.getProperty("com.snc.change_management.change_model.hide", false) === "true"; var wizardRedirect = "wizard_view.do?sys_target=&sysparm_wizardAction=sysverb_new&sysparm_parent=821fa3e153a3101034d1ddeeff7b1288&"; if (snNewChgOrigin === "module") wizardRedirect += "sysparm_stack=change_request_list.do"; if (modelsActive && !modelHidden) { g_response.sendRedirect(wizardRedirect + (referrer ? "&" + referrer.substring(1): "")); return; } // Redirect to the original interceptor page wizardRedirect = "wizard_view.do?sys_target=&sysparm_wizardAction=sysverb_new&sysparm_parent=8db4a378c611227401b96457a060e0f4&"; if (snNewChgOrigin === "module") wizardRedirect += "sysparm_stack=change_request_list.do"; g_response.sendRedirect(wizardRedirect + (referrer ? "&" + referrer.substring(1): "")); })(g_request, g_response, g_processor); To: (function process(g_request, g_response, g_processor) { g_response.setContentType('text/html;charset=UTF-8'); var referrer = g_request.getParameter("sn_new_change_referrer"); referrer = referrer ? referrer + "" : ""; // If interceptor disabled go straight to the change form if (gs.getProperty("com.snc.change_management.change_model.disable_interceptor", false) === "true") { g_response.sendRedirect("change_request.do" + referrer); return; } var modelsActive = pm.isActive("com.snc.change_management.change_model"); // If models are active and type compatibility isn't turned on go straight to the new UI var typeCompatibility = gs.getProperty("com.snc.change_management.change_model.type_compatibility", false) === "true"; if (modelsActive && !typeCompatibility) { g_response.sendRedirect("sn_chg_model_ui_landing.do" + referrer); return; } var snNewChgOrigin = g_request.getParameter("sn_new_chg_origin") + ""; // If models is active and isn't hidden, redirect to the interceptor with models var modelHidden = gs.getProperty("com.snc.change_management.change_model.hide", false) === "true"; var wizardRedirect = "wizard_view.do?sys_target=&sysparm_wizardAction=sysverb_new&sysparm_parent=821fa3e153a3101034d1ddeeff7b1288&"; if (snNewChgOrigin === "module") wizardRedirect += "sysparm_stack=change_request_list.do"; if (modelsActive && !modelHidden) { g_response.sendRedirect(wizardRedirect + (referrer ? "&" + referrer.substring(1): "")); return; } // Redirect to the original interceptor page wizardRedirect = "wizard_view.do?sys_target=&sysparm_wizardAction=sysverb_new&sysparm_parent=8db4a378c611227401b96457a060e0f4&"; if (snNewChgOrigin === "module") wizardRedirect += "sysparm_stack=change_request_list.do"; g_response.sendRedirect(wizardRedirect + (referrer ? "&" + referrer.substring(1): "")); })(g_request, g_response, g_processor); Set property: com.snc.change_management.change_model.disable_interceptor to trueRelated Problem: PRB1536056