Skip to content

A job stopped because a practice is switched off

Assessment, Care and Learning are practices: work a team takes on, with its own pages, training and jobs. A practice only works in a team when two switches are both on — the organisation has taken it on, and the team has applied it. When either is off, AIR refuses anything new that belongs to that practice. (Workspaces has only the first switch: no team applies it, so look only at Settings → Practices for it.)

That refusal is deliberate, and it is what you are looking at. Nothing is broken and nothing has been lost: a practice that is switched off keeps everything it holds, and anything that was already running when it was switched off is allowed to finish.

How it shows up

On a run. The step that needed the practice fails, and the exact error under it is simply:

practice_disabled

The headline above it says the step refused the call, and the run page may offer Re-auth. Ignore that button: there is no connection involved, and reconnecting changes nothing.

On screen. The practice's pages and links are not there — no greyed-out link, no message. "The Assessments page has disappeared" usually means this. When the organisation has switched it off, an old link to one of its pages takes you to Today instead.

In the training catalogue. Bringing in one of the practice's trainings is refused with one of:

(training) belongs to a practice this team has not applied.

(training) belongs to a practice this organisation has switched off.

To a partner application. An application on an SDK door that calls one of the practice's routes is refused with the code practice_disabled and the message:

The assessment practice is not in effect for this team.

(with care or learning in place of assessment).

Which switch is off

flowchart LR
  A[practice_disabled] --> B{Settings → Practices<br/>says On?}
  B -->|No| C[The organisation has<br/>switched it off]
  B -->|Yes| D[This team has<br/>not applied it]

The run page does not say which of the two it was, so check in this order.

  1. Settings → Practices. Find the practice's card. If it says Off — or Not taken on, or Switched off with a date — the organisation does not have it. Only the Owner can Switch on.
  2. The team's Manage page, under practices. If the practice shows not applied for the team the job runs for, the team does not have it. Only the Owner can choose applied.

A team cannot apply a practice the organisation has switched off; its row says so instead:

Your organisation has this switched off, so it can't be applied.

Full detail on both switches is in Practices.

If the practice should be off

Then the refusal is right, and the job is the thing to change. Either stop the job, or take the step that uses the practice out of it in the job studio.

A job that keeps hitting this will stop itself

A refusal like this counts towards the three failures in a row that make AIR stop a job, the same as an expired connection. If a scheduled job keeps reaching a switched-off practice, it is stopped after the third run and your AI manager tells you. See a job stopped partway through.

After switching it back on

Run the job again. A practice that is switched back on brings back everything it held, and new work of it can start straight away. A job AIR had already stopped needs turning back on: in All work, open its ⋯ menu and choose Resume.