Skip to content

Automatic Task Expiry

Tasks with an expiry date will automatically have their status changed to Expired when that date is reached. You can configure an expiry date similarly to configuring a due date. If the expiry date is in the past then the task will expire immediately.

Tasks with no expiry date set can still have their status manually changed to Expired, either via the UI or using a mutation.

Basing expiry on due date

In addition to the standard date configuration that can be used to set a due date, expiry dates can also be based on a task's due date, by using an expression like this:

liquid
{{ due | plus_time: hours: 1 }}

Note that the base of the expression should not be enclosed in quotes, ie due not "due", because it is referencing a property.

When the task is created, first the due date expression will be evaluated, then the expiry expression. If a task instance's due date is changed later on then the expiry date will not be automatically updated.

If you base an expiry date on a due date, but the due date expression is invalid, then the expiry date will not be set.