Hi Janice & Pat,
My plugin does not match your need : my plugin allows you to put student in groups randomly.
Janice said : "I need students to be assigned to specific groups, and I have a table in an external database that contains the groups and students names". I guess it is the same for you Pat. I never used an external database but I think you should look for this way : how to enrol student directly from database into groups' courses.
An other solution is to use "flat file" : you can export from the external database the links "student <> group", put its in a flat file and ask moodle to process it by the Flat file enrolment sync scheduled task. See : https://docs.moodle.org/31/en/Flat_file
Hope this will help you ...
Automatic enrollment into groups
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.