How do I send reminder or prior overdue email notifications?
As of version 5.1.7, WorkflowGen provides the ability to send reminder email notifications. These are known as prior overdue notifications.
You can define a hierarchy to handle prior overdue notifications by specifying additional notification conditions based on VBScript date/time calculation functions.
In a process action, if you want to notify a user that an action will be late within a specified period of time, you have to add an additional notification on the action using the prior overdue event.
To add a new prior overdue notification to an action, do the following:
On the process action Notifications tab, under the Additional section, select the Prior overdue event.
Select the recipient(s).
Select the Default template or a previously created custom template.
Enter the condition (see below for examples).
Example 1: Notification is sent within 3 days prior to overdue
DateDiff("d", <WF_SYSTEM_DATETIME> , <WF_ACTIVITY_INST_LIMIT_DATETIME>) <= 3
Example 2: Notification is sent within 15 minutes prior to overdue
DateDiff("n", <WF_SYSTEM_DATETIME> , <WF_ACTIVITY_INST_LIMIT_DATETIME>) <= 15
Alternatively, you can use the following syntaxes for examples 1 and 2 above:
DateDiff("d", <WF_ACTIVITY_INST_LIMIT_DATETIME> , <WF_SYSTEM_DATETIME>) >= -3
DateDiff("n", <WF_ACTIVITY_INST_LIMIT_DATETIME> , <WF_SYSTEM_DATETIME>) >= -15
There is no limit to the number of additional prior overdue notifications that can be added to an action (e.g. 2 days, 1 day, 1 hour, 30 minutes, etc.).
Note: If you don’t specify a condition, the prior to overdue notification will be sent whenever an action is created with a lead time and the Windows Engine service is run. It is best practice to add a condition as per the above examples to control when the prior overdue notification is sent.