Overview
Scripted Enrolments allows administrators to enrol multiple staff in multiple courses based on a set of chosen parameters very easily.
They can be run on-demand or set to run at set intervals - which allows for required training for groups of any kind to be maintained with almost no ongoing administration.
By settings parameters you can ensure that the right people are enroled at the right time. You can, for example,
- use it to give new starters access to the appropriate induction or new starter courses
- automatically re-enrol current employees in compliance courses that need to be taken annually
- give all employees access to an information broadcast (where critical information is shared with everyone)
The automated process means that:
- learners don't need to be manually enroled (which saves time and paperwork)
- enrolements can be created to suit a range of conditions, users and business requirements
Scripted Enrolments automatically updates enrolements where there are changes to user attributes, the rules or changes to courses.
Getting Started
To Navigate to Scripted Enrolments
- From the site homepage, locate the Settings block.
- Select Site Administration then Users then Enrolments then Scripted enrolments

Functional Reference
An explanation of each icon, column and function on the page.
|
Function |
Icon/View |
Description |
|---|---|---|
|
Add new enrolment script... |
|
A dropdown menu from which you begin creating a new script by selecting User/course enrolment |
|
Name |
Column |
The name given to the particular enrolment script |
|
Preview/Run |
![]() |
Will display a list of all enrolments that will take place if the script is run, which can then be put into action or cancelled. |
|
Clone |
|
Creates a direct copy of the script with a new name, which can then be tweaked for a new purpose. Can save time over creating a similar script from scratch. |
|
Edit User Filters |
|
Edit the parameters of which users will be enrolled via this script. |
|
Edit Course Filters |
![]() |
Edit the parameters of which course will be enrolled into via this script. |
|
Edit Script Settings |
![]() |
Edit the settings of the script, such as enrolment period, role and how to handle pre-existing enrolments. |
|
Scheduling |
![]() |
Edit the intervals at which this script is set to run, and who should be notified of its reults. |
|
Enrolment History |
|
A list of all enrolments that have been effected by this script. |
| Delete Script | ![]() |
Delete the enrolment script |
|
Created By |
Column |
The name of the admin that created the script |
|
Last Run |
Column |
The last time the enrolment script has been run. If it has never been run, then will display N/A |
|
Next Run |
Column |
When the enrolment script is next sheduled to run. If no scheduling is set, then will display N/A |
Adding a new script
From the Add new enrolment script drop down menu select User/Course enrolment
Enter a script title and an (optional) Description.

Select Submit to continue.
User Filter
The user filters create the list of learners for whom the enrolment will be made. You can filter around any parameter that can be found in a user profile - such as their location or job role.
Using filters is explained here
Course Filters
The course filters determine which courses your selected learners will be enrolled into.
Using filters is explained here.
Script Settings
The script settings determine how certain results should be handled - such as unenrolling learners who no longer fall within the filter range, or extending enrolments that have already been created by this script.
The role to assign during enrolment
|
Setting |
Description |
|---|---|
|
Assign Role |
This is the role in which everyone chosen as part of this script will be assigned. This will almost always be Student. |
|
Enrolment Period |
The length of enrolment (from today). This can be set to either Unlimited or between 1 and 365 days. |
Settings
|
Setting |
Description |
|---|---|
|
Update existing enrolments |
Ignore: Selecting ignore will perform no action on existing enrolments |
|
Re-enrol expired enrolments |
Ticking this option will create new enrolments for users who were previously enrolled, but whose enrolment period has now expired |
|
Unenrol formerly matching courses and users |
Ticking this option will revoke the enrolment of previously enrolled users who no longer match the user filters, or who are enrolled in a course which no longer matches the course filters |
|
Report skipped actions |
Selecting this will include in the report all actions skipped due to settings chosen above. |
Scheduling
To maintain enrolments, a script can be set to run at regular intervals.
You can also set yourself and other administrators as recipients of an enrolment notification or report.
Enable Scheduling
To enable scheduling, select Yes from the dropdown menu

Scheduling Settings
Unlike Scripted Reports which base access settings on the recipients list, there is no point adding recipients if there are not set to receive a report.
|
Setting |
Description |
|---|---|
|
Recurrence |
Once: Report will run once on the Next Run date. |
|
Next Run |
The date and time on which the report is set to next be run. |
|
Format As |
The document format in which a report will be sent |
|
Send Recipients |
Nothing: Nothing to be sent when the schedule report is run. |
Recipients
To add recipients first select them from the right hand column (hold Ctrl to select multiple) then select the left arrow.

To remove recipients do the reverse.
History
The history page will show a list of all enrolments made via this script.
Each time the script is run a new iteration is counted, so the first time is iteration 1, the second is 2 etc.
By default the hiostory page shows all the results for the script you selected, but it can be filtered futher.
Filters are described for Scripted Enrolments and Report here, and the principle is the same.
Actions explained
Each line in the enrolment report has an Action.
|
Action |
Description |
|---|---|
|
Enrolled |
Learner was enrolled into the course |
|
Updated |
Learners existing enrolment was updated - enrolment period has changed. |
|
Skipped |
Learner already enrolled, and has been ignored |
|
Re-enrolled |
Learner has been re-enrolled in the course |
|
Unenrolled |
Learner has been unenrolled from the course - no longer fitted the user or course filters. |
|
Failed User |
User has been deleted and therefore cannot enrolled into courses |
|
Failed Course |
Course is currently hidden/inaccessible, so enrolments cannot be made in it. |









Comments
Related articles