Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

404 HTTP error after approving or rejecting a request 1

Status
Not open for further replies.

32kinugin

MIS
Mar 16, 2004
2
US
Hello,

I have installed the Absence/Vacation template for our WSS site and have set it up so that it emails an approval link to the approvereject.aspx page. Once the approver either approves or rejects the request, the Http 404 error page comes up but the editing process goes through. Is the 404 error occuring because it has not published the results yet? Is there something I can do to resolve this?

Thanks
Tara
 
Not sure how you set this up but i will tell you how i did it. I created two workflows, one that emails the supervisor when the absence request is submitted, and one that emails the requestor after the supervisor approves or rejects the request. In the absences list i created a dropdown list of supervisors and made it a required field. In the workflow i created several if supervisor equals so and so email so and so. The workflow then sends an email to the supervisor with a hyperlink to the request, it is this link that i think your problem resides. Mine looks like this:
Code:
<a href="[URL unfurl="true"]http://servername/hr/avs/workflows/approvereject.aspx?ID=[/URL][%your absence list name:ID%]&List={12386B28-97c)4883-9B51-A70B27523D59}&Source=http%3A%2F%2Fyourservername%2Favs%2Fdefault%2aspx">Click here to review the request</a>

Now yours will obviously be different when it comes to the URL path, absence list ID, and probably the List GUID/ID. I got this info from clicking on the approve/reject link and kind of reverse engineering the URL.

I would be happy to elaborate more if you need it.


RoadKi11

"This apparent fear reaction is typical, rather than try to solve technical problems technically, policy solutions are often chosen." - Fred Cohen
 
Thanks for the advice, Roadki11. I too have the same link format in the supervisor's email. I've noticed that when the 404 IE error comes up, that you can refresh the page and it sends you back to the approvereject.aspx page. I've tried customizing the 404 error page and pointing to it in IIS on the WSS server to no avail. The default 404 page still comes up! Do you (or anyone else) know how to get the customized 404 page to deploy in WSS or to redirect to the homepage as soon as the approver clicks the Start button to fire-off the workflow?
Thanks
 
Well you got something off just a bit. As soon as my users click save when they approve or reject the request they get redirected right to the site default.aspx. Its at this point a 2nd workflow starts that emails the creator of the request to inform them the request was approved or rejected. It can work, it does work, you just got a little hickup in there somewhere. Not sure how to help you with that.


RoadKi11

"This apparent fear reaction is typical, rather than try to solve technical problems technically, policy solutions are often chosen." - Fred Cohen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top