the Email generated from workflow approval use internalURL for EnterprisePortal this should be externalURL example: internalurl = http://aosharepoint/
externalURL = http://portal.XXXX.com
the link looks like this now:
http://aosharepoint/EmployeeServices/ManageApprovalRequests/Enterprise%20Portal/TSTimesheetApproval.aspx?WMI=TSApproveTime&WTID=4624&WKEY=%5b65534%3a5637162602%5d&WCMP=kcnl&WDPK=initial&WHPV=C58BEE512D3D77EDBEC39EAD3553529399DDE6CE06012286C2FD49450D6CD7F9
WHere should I change the code so the externalurl is used (EPWebsites)