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.