I have a shared agent that is set to run daily at 4:13AM on all documents in the database.I have selected the Select documents in view open.
The security level is set at 3.
The code is:
SELECT (Form = “CCF2” & CompAppr = “”) | (Form = “CCF4” & CompAppr = “”) | (Form = “CCF5” & CompAppr = “”);
@If(DueDate = @Today;“”;@Return(“”));
@MailSend(Owner; “”; “” ; “REMINDER: Complaint #” + ControlNumber + " for " + CompanyName + " has a reminder date of " +@Text(DueDate) ; “Please ensure the complaint is progressing towards completion and enter a new reminder date.” + @NewLine + @NewLine + “To view the customer complaint, double-click on the doclink below.”; “”; [IncludeDoclink])
THE PROBLEM:
If I run this agent manually it works as intended and sends mail only for the complaints where the the DueDate equals today.
If I leave it set to run on the server then the agent identifies the correct complaints that the mail needs to be sent on and sends it. Then sends it again a few seconds later.
I tried searching and could not come up with this issue.
Any suggestions on what to try?
Thanks
Teri