Why was this learning assigned, and how assignment rules work
This article explains the ways learning reaches a learner's account, when Query Builder rules take effect, how to find out what assigned an item, and why removed learning or an old completion can come back. Your site may use its own names for some items, such as Departments or Jobs.
How does learning get onto a learner's account?
These are the main routes. One item can reach a learner through more than one of them at once.
- By hand. An administrator or manager assigns it in Assign Learning, or with Add Learning in the learner's record. See Assign and Unassign Learning Resources/Lessons from the Learning Library, and Assign learning to individual learners.
- Departments, jobs and groups. In Assign Learning, the Departments, Groups and Jobs tabs give the item to everyone in them. People who join later get it too: a user added or edited into a department receives that department's learning, a person added to a group receives the group's learning, and a change of job brings the new job's learning.
- Programmes. Learning inside a programme comes with the programme. Removing a learner from the programme removes its learning.
- Lessons. A lesson brings every resource inside it. A resource added to a lesson goes to everyone who has the lesson.
- Events. Booking a learner onto an event gives them the event's lesson.
- Query Builder rules. An Add rule on a resource, lesson or programme assigns it to everyone who matches. A Remove rule takes it away. See Assign Learning using the Query Builder.
- Other routes. A learner can enrol themselves or pay for learning. Linked learning can be assigned with other learning or a set number of days after it. Learning can also come from an import, from another system through the API, or as the start-up resource given at sign-in.
Two points catch people out:
- A department assignment reaches people in that exact department only, not the departments under it. Assign each sub-department as well, or use a Query Builder rule.
- When a non-administrator assigns to a department, job or group, it reaches only the people linked to them as their team.
When does a Query Builder rule assign?
Not at the moment you save. A background job applies every rule on the site in turn. Saving a rule asks that job to run at its next check, and on a large site each run can take a while.
To see the timing on your site:
- Go to System Setup › Defaults › Cron Jobs.
- Find the Query Builder Itrator Cron row.
- The frequency column shows how often it runs, in minutes. The average run time and last run time columns show how long a run takes.
Plan any announcement email for after the next run has finished. Only active accounts are assigned, and people who already have the item are left as they are.
Does removing or changing a rule take the learning away?
Not on its own.
- Deleting an Add rule stops new assignments, but everyone it already assigned keeps the learning. To take it away, add a Remove rule or remove it by hand.
- People who stop matching an Add rule keep the learning, unless the setting Remove Not Applicable Learning in Queries that is not completed (System Setup › Defaults › Settings) is on. Then, at the next run, the unfinished item is removed from EVERY learner who is outside the rule's matches, also from learners who got it by hand, from a group or by self-enrolment. Completed records stay.
- If a person matches both an Add rule and a Remove rule, the Remove rule wins.
- If you clear every condition from a Remove rule and save, the Remove rule is deleted. The people it kept out then receive the learning at the next run.
Newer sites also have Learning Library › Queries, which lists every rule in one place so you can enable, disable or test each one.
Why does learning come back after I remove it?
Something else is still giving it to the learner. Check these in order:
- A Query Builder Add rule still matches them, so the next run adds it again. Change the rule, or add a Remove rule that matches them.
- Their department, job or group still has the learning. Remove it there, or move the person.
- They are booked on an event that uses the lesson. The event keeps adding it, so remove them from the event first.
- The resource sits inside a lesson they still have. Removing it through a group, job or rule leaves it in place while the lesson still gives it.
The audit page below shows which of these it is.
How do I find out what assigned an item?
- Go to System Setup › Audit › Lesson Resources Assignment.
- Filter by the learner and the learning.
- Read Created By, Created at and Creation notes by system. The note names the source, for example "query builder, assign lessons - 1234" (the number is the lesson or resource ID), "direct assign", "add groups resources to user", "job changed for user, add resources from old job" or "schedule - process events, link resources to user".
- Tick show archived to see assignments that were removed, with Deleted By, Deleted at and Deletion notes by system.
To see the learner's progress record for the item, including its completion status and dates, go to System Setup › Audit › Learning Results.
Why does an earlier completion come back when a learner is assigned again?
Removing an assignment does not delete the learner's progress record. The record stays in place, and when the same learning is assigned again it is used again. A learner who finished the item before shows as completed straight away, with the original completion date. Items that were never started get a new due date from the new assignment.
To confirm what happened, open System Setup › Audit › Lesson Resources Assignment, tick show archived and look for the earlier assignment and its removal. If the learner must take the item again, contact support.
Why did adding a resource reopen a lesson for people who had finished it?
A new resource in a lesson goes to everyone who has that lesson, so learners who had finished now have something new to do. To stop this, edit the lesson, tick Do not reset completion state if completed and save it before you add the new resource. Learners who have completed the lesson then keep their completion and do not receive the new resource. Learners still working through it receive it as normal. Set this on each lesson you are updating.