Article: AN0002032Updated:
Time operations are a powerful tool for automatic notifications about errors in data and keeping an eye on deadlines. Following text describes, with what intention you can use time operations.
Keeping an eye on deadlines
With this setting you you will be notified about approaching date, when you have to take care of something:
1) You have class Car, in which you keep records about your cars, with coloumn Date of v ní sloupec Date of certificate of roadworthiness validity.
Configure a time operation to be notified 30 days in advance and 7 days in advance. This will help avoiding problems with invalid certificates of roadworthiness and possible fines.
2) Users or machines have to have valid certificates and inspection protocols.
Create a class, in which you will keep records about certificates and examinations with final date of validity. Then configure a time operation to be notified in advance for taking care of a new tzraining or examination. The notification can be directly sent to a user that is responsible for that.
Data cleanness
Create a query that will return records from a certain class, that are erroneous (missing or invalid values). Then create a time operation over this query, select type Start every time and set Start every time - min. after days to value 7. Users then will be in a weekly intervals informed about errors in data till they correct the data.
Paste a date of error occurrence into the column with date e.g. by means of rule or script in operation 0. Then you will be able to use operation 1-4 for problem escalation. First time user, that shall perform the correction, can receive notification. A week later user manager can be notified etc.
If you do not want escalation, set in the column with date current date and set Shift in days against date = 0 in Operation 0.