Cancel Stale Work Orders
Work orders that are created but never started can be cancelled automatically. A work order is treated as stale when it has sat in the group scheme's default status for too long.
The setting is under Automations > Cancellations in the group scheme settings.
Settings
- Cancel After (Days) - the number of days a work order can stay in the default status before it is cancelled. Leave empty, or enter 0, to switch automatic cancelling off.
- Report To - who is sent the report of what was cancelled. Separate several addresses with a comma and no spaces:
[email protected],[email protected]
Which work orders are cancelled
A work order is cancelled when both of these are true:
- it is in the group scheme's Status for new work orders. This is the status new work orders start in, set under New Work Order Values in the group scheme settings
- it has been in that status for at least the number of days in Cancel After (Days)
The days are counted from when the work order last changed status, not from when it was created. A work order that has been moved to another status, even back and forth, is counted from its latest move.
Set a Status. Automatic cancelling works from the group scheme's own Status under New Work Order Values. Choose an actual status there before entering Cancel After (Days).
What happens
The check runs once a week. Each stale work order is moved to your account's cancelled status, in the same way as if it had been cancelled by hand, and a line is added to its log:
Cancelled automatically because it has been in the Booked status for 30 days.
The report
When any work orders have been cancelled for the group scheme, each address in Report To is sent an email with the subject Cancelled Work Orders. A spreadsheet (CSV) file is attached listing each cancelled work order with its number, created date, customer and age in days.
No email is sent in a week when nothing was cancelled.