Wondering if TotaraLMS has ever considered adding functionality to the course groups so that course level groups could be created dynamically in much the same way as site wide audiences. Also wondering how others may have achieved management of large numbers of learners in separate groups within a course, in a way that is manageable and that can scale. I am thinking ahead for a use case for a client I am working with and thought I would begin exploring the possibilities.
Best practice forum (Archived)
Dynamic course groups like audiences
Wow I never noticed this before, but the audience sync enrollment allows you to assign an audience to a group in a course. This is almost exactly what I was looking for but never realized that capability before. Way to go Totara!
Probably pointing out what you appear to already know, but audiences do have the ability to be dynamically populated based on user profile fields and custom user profile fields (including birth month for instance.) Good stuff!
Hi Maurice,
What version are you using? Im not quite following how you are using dynamic audiences to create groups in a course, and then enrolling users. Similarly Im not following how and why you are enrolling users in courses with Audiences and then learning plans. Am I right in thinking on half of the post is a bug/howto type question and the other a possible feature request?
Obviously Im missing whats going on but if you could flesh out your procedures and thinking that would be great!
cheers!
George.
Hi Maurice
Thanks for the explanation
Using groups for Assignments will mean the groups trainer will receive a notification for their group only.
Assigning the group through the audience sync instance in the course with dynamic audience should assign new audience members to the group.
I tried this to see if the groups were autopopulated once a new member was added and this did work. I did need to run the cron specifically the enrol_cohort task (this task is not on the scheduled task list). Once the person was a member of the audience they were assigned to the group.
Learner Uno was added after the first audience sync and when I ran the cron was added to the cousre and group
Can you confirm that enrol_cohort is running Ok?
If you run cron from the browser window (untick the cron execution via command line only if you can't run from browser) sitenname/admin/cron.php you should see the cron task information and the enrol_cohort cron should be showing
Running cron for enrol_cohort... removing user memberships of deleted users... Checking audiences with broken rules... ... 0 Audience(s) with broken rule(s) found. updating dynamic cohort members... 11:13:09 updating AUD0001 members... 1 members added; 0 members deleted Starting user enrolment synchronisation... enrolling: 58 ==> 2 via cohort 1 assigning role: 58 ==> 2 as student adding user to group: 58 ==> 2 - Group one removing user memberships for deleted cohorts... ...user enrolment synchronisation finished. Starting activity modules Processing module function assign_cron ... ... used 6 dbqueries ... used 0.73922514915466 seconds done.
Hi Maurice
For me the enrol_cohort task ran in 2.7.13 when running cron from the browser - the enrol_cron has been around well before 2.7.13.
There was a change added in 2.7.2 (TL-5685) which updates enrolments immediately after changes in dynamic audience rules so doesn't rely on cron but you haven't changed the rules. This has caused a problem when changing rules with large audiences(1000s) which can result in CPU max out.
When you ran the cron from the browser did the message at the end say cron script completed correctly?
Hi Maurice
This is a course enrolment method , when you add a course under enrolled learning in the audience the audience sync enrolment method is created in the course.
To create an enrolment method for enrolling into a course group Go to Course Admin > Users > Enrolment methods
Select the Audience sync method and select Edit to create an enrolment method to add members into a group and any other actions as below.