I've been working on automating student accounts. I have creation and suspension working, but transfers between our schools has me stuck. I need to remove them from one school's student group and add them to another.
I process all students every day, and add them to the correct group. If they haven't moved, no big deal, it just attempts to re-add them to the group they're already in.
But if they have moved, then they get added to the correct group, but they're still left in the incorrect group. What I'm looking for is a way I can remove a group from a user using a pattern, rather than a specific group name.
AA is school abbreviation, and is always two letters
BBBB is the grade number 1-12, K, PreK, or PreS
I'm thinking I might be able to do something with 'csv_out_row_filter' but I can't figure out the syntax.