Task Time Trigger¶
Time Triggers allow you to run Tasks at a predetermined time relative to a project DateTime field.
Example
Execute task 24 hours before the Submission Deadline
Time Triggers specify two properties:
Property | Description |
---|---|
Field | The Project DateTime field that is providing the point of reference E.g. Submission Deadline |
Offset | The time in seconds, relative to the field, when the task should execute. E.g. 3,600 will run the Task 1 hour after the DateTime stored in the field |
Offset¶
The Offset can be positive or negative depending on whether the Task should run after or before the DateTime specified in the project field.
Example
-86400 will run the Task 24 hours before the DateTime stored in the field.
86400 will run the Task 24 hours after the DateTime stored in the field.
Task Context¶
Time Triggers do not use a Task Context when executing Tasks and so should be used with care.
Example
Using a Time Trigger to send a Message Template will send the email to every recipient specified by the Message Template.