hi, i was just testing a small agent that sends a mail after 30 days of a document expiration. this agent is scheduled daily once in a folder(search criteria). the code is as below:
@MailSend(“satish”;“”;“”;“hi”;“check this out”;“”;[IncludeDoclink]);
The problem is, if i schedule the agent then nothing is happening but if i run it manually, mails are being sent. can’t understand the reason why. can someone help me out of this tricky issue? thanx in advance for the suggestions and help.
There’s nothing wrong in the log of the agent or the servername. It’s clearly showing the last time the agent has run and the number of documents that it acted upon. But no mails are coming. I used the same code in another scheduled agent in a different database under the same condition with a different field and viola, it works. Still, in the database that I need it, it’s not running. As I said earlier, it works only if I run it manually.
make sure you have a default database form and a default database view defined. to do this pick a form and a view as the default and enable it as such in the properties box for each element. HTH
Oops, I never thought this would be the bug. The db doesn’t have a default form n view assigned. The agent worked after I assigned a form n a view as default. Can you explain why? Thanks in advance for the explanation.