Best practice forum (Archived)

Dynamic course groups like audiences

 
? ?
Dynamic course groups like audiences
par ? ?, Monday 26 August 2013, 05:48
 

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
par ? ?, Monday 26 August 2013, 10:08
 

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!

Ce message du forum a été supprimé
Monday 26 August 2013, 10:48
Le contenu de ce message de forum a été supprimé et n'est plus accessible.
? ?
Re: Dynamic course groups like audiences
par ? ?, Saturday 7 September 2013, 14:50
 

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! 

Ce message du forum a été supprimé
Monday 9 September 2013, 04:44
Le contenu de ce message de forum a été supprimé et n'est plus accessible.
Ce message du forum a été supprimé
Sunday 12 June 2016, 21:12
Le contenu de ce message de forum a été supprimé et n'est plus accessible.
me
Re: Dynamic course groups like audiences
par George Angus, Monday 13 June 2016, 17:50
Groupe 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.

Ce message du forum a été supprimé
Tuesday 14 June 2016, 01:00
Le contenu de ce message de forum a été supprimé et n'est plus accessible.
Craig Eves
Re: Dynamic course groups like audiences
par Craig Eves (Totara Support), Tuesday 14 June 2016, 14:28
Groupe 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?

Ce message du forum a été supprimé
Tuesday 14 June 2016, 22:38
Le contenu de ce message de forum a été supprimé et n'est plus accessible.
Craig Eves
Re: Dynamic course groups like audiences
par Craig Eves (Totara Support), Thursday 16 June 2016, 16:21
Groupe 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.

Ce message du forum a été supprimé
Sunday 19 June 2016, 14:08
Le contenu de ce message de forum a été supprimé et n'est plus accessible.
Craig Eves
Re: Dynamic course groups like audiences
par Craig Eves (Totara Support), Sunday 19 June 2016, 17:25
Groupe 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?

Ce message du forum a été supprimé
Sunday 19 June 2016, 22:37
Le contenu de ce message de forum a été supprimé et n'est plus accessible.
Ce message du forum a été supprimé
Tuesday 21 June 2016, 19:06
Le contenu de ce message de forum a été supprimé et n'est plus accessible.
Craig Eves
Re: Dynamic course groups like audiences
par Craig Eves (Totara Support), Tuesday 21 June 2016, 20:04
Groupe 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

Ce message du forum a été supprimé
Monday 27 June 2016, 20:38
Le contenu de ce message de forum a été supprimé et n'est plus accessible.
Ce message du forum a été supprimé
Tuesday 14 June 2016, 13:30
Le contenu de ce message de forum a été supprimé et n'est plus accessible.