I have several agents that have been running for a couple of years that have all of a sudden stopped working properly.
They are scheduled to run once a day at between 1:00AM and 2:00AM.
They check a database for past due records and send mail to the appropriate people.
As I said, these have been running for years. No changes have been made to the agents.
The only thing done since the last changes to the agents was an upgrade from Domino 8.0 server to Domino 8.5.1
All of the date fields used are default calendar/time control fields.
Here is the code of one of the agents that has stopped working.
reqdcompl field is Calendar/time control
dateclosed is Calendar/time control
salesperson is text field
complaintnum is number field
customername is text field
Any ideas anyone??
Overdue := @Adjust(reqdcompl;0;0;5;0;0;0);
@If(dateclosed = "" & @Today=Overdue;@MailSend(salesperson;"John Doe/MyCompany":"Jane Smith/MyCompany":"Charles Darwin/MyCompany":"Sam Jones/MyCompany";"Bob Brown/MyCompany";"Overdue Customer Complaint";"The Following Customer Complaint is five days overdue: # " + @Text(complaintnum)+ " Customer: " + customername;"";[IncludeDoclink]);"")