Skip to content

Background work ​

The system does some work by itself, on a schedule. Knowing when helps explain what you see.

WorkHow oftenWhat it does
Case emailsEvery minuteSends emails waiting in the outbox. A refused email is tried five times over about two hours.
Reading mailboxesEvery minuteReads each shared mailbox and files, opens or holds each new email
ConnectorsChecked every minuteReads each switched-on connector's feeds that are due, each on its own timetable
Who is above whomEvery 30 secondsWorks 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 copiesEvery minuteCopies new document versions to SharePoint, and deletes copies of destroyed cases
Document textEvery 30 secondsReads new document versions' text, and sends pictures of pages to OCR. A page OCR could not read is tried again over about seven hours.
WebhooksEvery 20 secondsPosts queued events, retrying for about a day
Online paymentsEvery 2 minutesAsks each payment provider about payments still waiting, and records those paid. Links not paid in 30 days are taken as abandoned.
SurveysEvery minuteEmails surveys waiting to be sent. A refused email is tried again after 5, 15, 45 and 135 minutes.
Missing time alertsEach working morning from 7amEmails people whose last working day was short of their target, and those who manage time about anyone short for days in a row.
RulesEvery 15 minutesFires rules that are due. Rules on dates wait for 7am UK time; rules on events with 0 days fire straight away.
Daily emailChecked every 15 minutesSends each person's daily summary once a day, from 7am UK time on working days
Scheduled reportsChecked every 15 minutesEmails reports that are due, from 7am UK time
On-hold time limitsEvery hourUpdates the due dates of cases on hold past their pause limit, which change with nobody touching the case
RetentionEvery 6 hoursProposes closed cases past their retention period, destroys approved ones, and removes unattached uploads more than a day old
Bank holidaysEvery dayChecks 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.

Genera: case management for UK public sector organisations