Change default redirection page for approver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2022 02:15 AM
How can I change the redirection page upon clicking back or update button?
By default, the approver will be redirected to an Approval list filtered by current date. This list includes records that are assigned to other approvers.
I wanted them to be redirected to my approval list.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2022 02:21 AM
Use this in the UI Action at the end
gs.setRedirect(url)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2022 02:25 AM
I have already use this method for 'Approved' button but I am looking for another way to prevent approver to be redirected to the said records that is not one of his approvals since Update and Back are global ui buttons.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2022 02:36 AM
Can you share what you wrote
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2022 02:47 AM
Basically I just updated the Approve UI action under sysapproval_approver table using the ff. script. I have no problem with this as this is working fine.
current.state='approved';
current.update();
url="[my url]";
action.setRedirectURL(url);
I just want to check the configuration on how the approver was redirected to an approval list upon clicking back and update button as my previous approach was not fit for this requirement.