- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2025 03:08 PM
Cancel button : When i cancel the RITM its not redirect to REQ page it directly going to XXX_LR_page for all the RITM cancel
below code used for this UI action
function setRITMCancel() {
g_form.setMandatory("work_notes", true);
gsftSubmit(null, g_form.getFormElement(), "cancel_ritm");
}
//Code that runs without "onclick"
//Ensure call to server-side function with no browser errors
if (typeof window == "undefined") {
serverRITMCancel();
}
function serverRITMCancel() {
current.stage = "Request Cancelled";
current.state = 4;
current.update();
}
can any one suggest for redirect to REQ page what i need to apply and share script ???
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2025 08:24 AM
Add the below line after current.update() and see whether it solves your issue:
Palani

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2025 08:24 AM
Add the below line after current.update() and see whether it solves your issue:
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2025 09:16 AM
After apply this like getting error Page not Found and sysid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2025 10:02 AM
Hi @palanikumar After current.updae()i have added below code
action.setRedirectURL(current);
Its working fine thanks for Answer