Example: Reminder Messages for Contracts
This example shows how you can create a common notification rule for contracts that have their deadline in 30 days. You will be notified every day starting 30 days before the deadline until the deadline is met.
Note: To use this feature, event logging and notifications must be
enabled on the M-Files server. For more information about server
settings, see Editing Notification Settings in M-Files Admin.
- Open the classic M-Files Desktop.
- Click your username in the upper right corner.
-
Click
.Result:The Notification Settings dialog is opened.
- Click the Add button.
- In the Name field, give your rule a name, such as Contract reminder.
- In Notification sent, select When object matches the conditions of the filter.
-
In Message delivery, select A digest message
once a day.
All days of the week are selected by default.
- In Notification recurrence, select Notify of each matching object repeatedly.
- Click the Define Filter button.
- Open the Properties tab.
- Click the Add Condition button three times.
- For the first condition, select Assignees as the property, = as the operator, and (current user and users for whom the current user is a substitute) as the value.
- For the second condition, select Deadline as the property, <= as the operator, DaysTo() as the option, and 30 as the value.
-
For the third condition, select Deadline as the property, > as
the operator, DaysTo() as the option, and 0 as the value.
If you do not set this condition, you will get notifications also after the deadline.
-
Click OK.
Result:The property condition 'Assignees' = '(current user and users for whom the current user is a substitute)' AND DaysTo( 'Deadline' ) <= 30 AND DaysTo( 'Deadline' ) > 0 is now shown in the Filter field of the Notification Rule Properties dialog.
- When you are done, click OK.