Redirect to a blank page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2017 01:29 AM
Hello,
I've a UI action to request for approval after a normal change has been raised, of course when you raise a normal change a specific workflow starts and waits for that action to proceed.
The problem is when you request for approval it always redirects to a blank page.
This is the original code:
current.approval = "requested";
current.update();
action.setRedirectURL(current);
//action.setReturnURL(current);
I also tried a lot of different things, for instance:
var urlDirect = gs.getProperty("glide.servlet.uri") + "/nav_to.do?uri=" + current.sys_class_name + ".do?sys_id=" + current.sys_id;
current.approval = "requested";
current.update();
action.setRedirectURL(urlDirect);
//action.setReturnURL(urlDirect);
None of the approaches worked, always the same thing, it redirects to a blank page.
Any ideas or work around to solve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2017 04:32 PM
Pedro, I had the exact same issue. Like you I was trying various fixes with the redirectURL with NO success. I also was thinking it might somehow be workflow related. Then I found this... set property to "Turn off Engines" and it works.
Thanks for your post!
Johnny Quinonez
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2017 04:36 PM
Forgot to mention... I think you should be okay setting this property. I'm in the process of testing our sub-prod for Jakarta upgrade and so far its working well.
JQ

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2017 03:56 AM
Hi Johnny,
Thanks for your answer, I'm glad to have helped you.
Yeah, I've done this change a few weeks ago and I didn't notice anything weird on the approvals workflows since then.
Cheers,
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2022 01:50 PM
I'm running into this same issue. Where did you both find the "Turn off engines" property? Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-16-2021 09:42 PM
I have the same issue with my custom UI Action. Do you think this is related to the same issue?
Here is the link to my question.
Here is what I see in the property for this table.