Question : Lotus notes workflow email reminder

Hello,

Hoping someone can help
Have a requirement for an email reminder agent to send email to managers  after the document is 7 days old and an additional followup ever thirty days after that if still open. (Managers need prompting  !!!)

Have part of the agent sorted however the sending in reference to the date field (Date) is a bit trick for me.
ANy help would be appriciated.
Code Snippet:
1:
2:
3:
4:
5:
6:
REM {Send reminder to Incident Manager, Line Manager,Functional Manger};
 
REM {@MailSend( sendTo ; copyTo ; blindCopyTo ; subject ; remark ; bodyFields ; [ flags ] )};
 
SELECT Form = "Incident Form" & Status = "";
@MailSend( IncidentManager:LineManager:FuncManager;"";"" ; IncidentName + " Safety Incident : " + @Text(Counter); "Please review Incident  " +@Text(Counter) + "  as it is marked as open" ;" Document  link is below  " + @NewLine+@NewLine;[IncludeDoclink] )

Answer : Lotus notes workflow email reminder

To make your agent work even if you don't update all existing documents, add a line at the start with:
      Default NextMailSend:= @Date(@Adjust(@Created;0;0;7;0;0;0));
Random Solutions  
 
programming4us programming4us