Change default redirection page for approver

atv1
Giga Expert

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. find_real_file.png

 

find_real_file.png

8 REPLIES 8

suvro
Mega Sage
Mega Sage

Use this in the UI Action at the end

gs.setRedirect(url

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. 

Can you share what you wrote

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.