Appearance
Background work
The system does some work by itself, on a schedule. Knowing when helps explain what you see.
| Work | How often | What it does |
|---|---|---|
| Case emails | Every minute | Sends emails waiting in the outbox. A refused email is tried five times over about two hours. |
| Reading mailboxes | Every minute | Reads each shared mailbox and files, opens or holds each new email |
| Connectors | Checked every minute | Reads each switched-on connector's feeds that are due, each on its own timetable |
| Who is above whom | Every 30 seconds | Works out again, for organisations whose register hierarchies changed, who sees the cases about each entry from above, and the roles of members whose role follows the records |
| SharePoint copies | Every minute | Copies new document versions to SharePoint, and deletes copies of destroyed cases |
| Document text | Every 30 seconds | Reads new document versions' text, and sends pictures of pages to OCR. A page OCR could not read is tried again over about seven hours. |
| Webhooks | Every 20 seconds | Posts queued events, retrying for about a day |
| Online payments | Every 2 minutes | Asks each payment provider about payments still waiting, and records those paid. Links not paid in 30 days are taken as abandoned. |
| Surveys | Every minute | Emails surveys waiting to be sent. A refused email is tried again after 5, 15, 45 and 135 minutes. |
| Missing time alerts | Each working morning from 7am | Emails people whose last working day was short of their target, and those who manage time about anyone short for days in a row. |
| Rules | Every 15 minutes | Fires rules that are due. Rules on dates wait for 7am UK time; rules on events with 0 days fire straight away. |
| Daily email | Checked every 15 minutes | Sends each person's daily summary once a day, from 7am UK time on working days |
| Scheduled reports | Checked every 15 minutes | Emails reports that are due, from 7am UK time |
| On-hold time limits | Every hour | Updates the due dates of cases on hold past their pause limit, which change with nobody touching the case |
| Retention | Every 6 hours | Proposes closed cases past their retention period, destroys approved ones, and removes unattached uploads more than a day old |
| Bank holidays | Every day | Checks GOV.UK for newly announced bank holidays, and recalculates running time limits |
Once, and only once
Each kind of work claims what it is about to do before doing it, so that if the system runs on several servers, nothing is done twice: an email is sent once, a rule fires once per date, a person gets one daily email, a scheduled report is sent once per run. If something fails part way, the claim is released and it is tried again on the next run.
Missed runs
If the system was unavailable, work picks up when it returns:
- the daily email and scheduled reports go out later the same day, once
- rules fire up to 14 days late, but a reminder before a date never fires after it
- emails, webhooks and copies waiting in their queues are sent
Things that happen at once, not on a schedule
- Time limits recalculate as soon as something they depend on changes: the case's status, a date it counts from, the organisation's nation, a closure day or a bank holiday.
- Each case change is written to the history, and its webhook events queued, in the same save.
- Notices to staff, such as a new email on a case or a client portal message, are sent straight away.
Working days
"Working days" are Monday to Friday, less bank holidays for your nation and, where a setting says so, your closure days. See Working days and bank holidays.
All times are UK time (Europe/London), including the change to and from summer time.