I have a call log database that was supposed to run an agent overnight and copy any document over 90 days old to a "archive" database and then remove the document from the live call log database.
Well the agent ran last night and moved ALL documents to the "archive" database. So this morning I wrote a small agent to copy back any document under 90 days to the live database.
This worked fine but, this database also sends out an email to our level 2 support team. They can no longer open the document links on the past documents that are still being worked on. The error is "Document is deleted". Is there a way to fix this so that the emails with the document links open the call log?