Why won't agent work for @MailSend?

Hi all,

Agent is scheduled to run on all documents in a database that has the “Flag” field equal 1. If there are such documents I would like mails to be sent to Tom Testa.

Why will this not work?

@If(Flag=“1”;@MailSend(“Tom Testa”;“”;“”;“Follow this link”;“”;“”;[IncludeDoclink]);“”);

SELECT @All

thanks

Subject: Questions?

Will agent run manually?

When you schedule the agent, is the agent signed by the server’s id?

Subject: Why won’t agent work for @MailSend?

Hi

Chances are, that you do not have a default view in the database. If you include doclinks in @MailSend, your database needs to have a default view (it does not need to be related to your documents). You can find further information in the designer help.

Regards

John