Best practice forum (Archived)

Dynamic course groups like audiences

 
? ?
Dynamic course groups like audiences
von ? ? – Monday, 26 August 2013, 5:48 AM
 

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. 

? ?
Re: Dynamic course groups like audiences
von ? ? – Monday, 26 August 2013, 10:08 AM
 

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!

Dieser Forumsbeitrag wurde entfernt
Monday, 26 August 2013, 10:48 AM
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.
? ?
Re: Dynamic course groups like audiences
von ? ? – Saturday, 7 September 2013, 2:50 PM
 

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! 

Dieser Forumsbeitrag wurde entfernt
Monday, 9 September 2013, 4:44 AM
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.
Dieser Forumsbeitrag wurde entfernt
Sunday, 12 June 2016, 9:12 PM
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.
me
Re: Dynamic course groups like audiences
von George Angus – Monday, 13 June 2016, 5:50 PM
Gruppe Totara

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.

Dieser Forumsbeitrag wurde entfernt
Tuesday, 14 June 2016, 1:00 AM
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.
Craig Eves
Re: Dynamic course groups like audiences
von Craig Eves (Totara Support) – Tuesday, 14 June 2016, 2:28 PM
Gruppe Totara

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.

audience enrol

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?

Dieser Forumsbeitrag wurde entfernt
Tuesday, 14 June 2016, 10:38 PM
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.
Craig Eves
Re: Dynamic course groups like audiences
von Craig Eves (Totara Support) – Thursday, 16 June 2016, 4:21 PM
Gruppe Totara

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.

Dieser Forumsbeitrag wurde entfernt
Sunday, 19 June 2016, 2:08 PM
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.
Craig Eves
Re: Dynamic course groups like audiences
von Craig Eves (Totara Support) – Sunday, 19 June 2016, 5:25 PM
Gruppe Totara

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?

Dieser Forumsbeitrag wurde entfernt
Sunday, 19 June 2016, 10:37 PM
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.
Dieser Forumsbeitrag wurde entfernt
Tuesday, 21 June 2016, 7:06 PM
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.
Craig Eves
Re: Dynamic course groups like audiences
von Craig Eves (Totara Support) – Tuesday, 21 June 2016, 8:04 PM
Gruppe Totara

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.

Audience sync

Dieser Forumsbeitrag wurde entfernt
Monday, 27 June 2016, 8:38 PM
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.
Dieser Forumsbeitrag wurde entfernt
Tuesday, 14 June 2016, 1:30 PM
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.