Notify via Agent

Hi,

I have a scheduled agent that should run daily (excluding weekends) at 8:00AM on All documents in the database.

AGENT formula:

SELECT ((Form = “Leave Application”));

FIELD origsigner:=origsigner;

FIELD hrsigner:=@If(hrsigner=“”;“”;hrsigner);

FIELD it:=it;

REM;

Subject := “Leave Application created on - " + @Text(createdate) + " has not been completed.” ;

Remark := "Leave Application created on - " + @Text(createdate) + " has not been completed by " + Originator + “. Please double-click on the following DocLink and complete the document.” ;

REM;

@If(origelectronicsign=“”;@MailSend (origsigner ; hrsigner ; it ; Subject ; Remark ; “” ; [IncludeDoclink]);“”)

The agent is Enabled, but it doesn’t e-mail the relevant people at 8:00AM every day.

Any help/suggestions will be appreciated.

Subject: Notify via Agent

Plenty of information in the Agent FAQ on this subject. Most common mistake being to the database missing a default view that contains the document being linked to.

HTH - Rufus.

Subject: Notify via Agent

There are a large number of mistakes that would have the same sympton. From lack of security rights to errors in the agent code. Agent FAQ has tips on how to determine what is the problem. Start with the reference called “Troubleshooting agents”, it will help you with diagnostic tools and some common mistakes.