Undo Routing of Last Task
This Undo Routing of Last Task, is perhaps the most complicated of the functions as it is performing several tasks at the same time. It will undo the last routing that occurred, which usually means it will delete the last pending task record(s), and change the next-to-last record(s) back to pending status. In effect, it will be as if the last completed task had not been performed.
Provided simultaneous routing hasn't occurred, the program would normally find and delete the one final task record, and then update the next-to-last completed task record as pending. This only works well if the task records being undone were generated as part of the normal routing process. If they were created via the Create Task function in Final Form Maintenance, the undo button will likely be confusing and unhelpful. The system will perform checks to see if it makes sense to 'undo' the last and next-to-last tasks and will tell you if it can't find anything to undo.
An undo could also be accomplished by using the delete button to delete the last task record, and then the edit button to change the next-to-last task record from completed to pending. The undo button is a little simpler than this, as it will do both steps at once and also 'rolls back' the routing between these steps as it is did not occur.
The system will show you what task record(s) will be marked as pending, and what task record(s) will be deleted. The system will analyze the last and next-to-last task records and show you warnings or errors accordingly. If there are errors, the system will not let you submit the undo, and only the cancel button will be available.