You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rule to find if has been enrolled in x course in y category to get previous enrolment, afaiks i can get is/is not enrolled in x course but not have they ever been enrolled in any of x courses/x courses in a category.
can we get time enrolled in x course? something like "enrolment not ended before x weeks".
a rule to get the time added to a cohort (and time removed if that's possible)
all very edge case - just thoughts :)
The text was updated successfully, but these errors were encountered:
MURBASLMS
changed the title
An enrolment rule to find if has been enrolled in x course in y category
"previous enrolment" and enrolment timing rules
Jan 14, 2025
rule to find if has been enrolled in x course in y category to get previous enrolment
This one is tricky as Moodle doesn't store enrolment history (except logs). However, this can be done with an additional plugin and custom table that would record a history of enrolment/unenrolment. Using log table for that may be too slow.
afaiks i can get is/is not enrolled in x course but not have they ever been enrolled in any of x courses/x courses in a category.
This one can be potentially done by using Role condition with enabled "including children (categories and courses)"?
can we get time enrolled in x course? something like "enrolment not ended before x weeks".
This one can be useful. Perhaps similar to "User created" time condition? Enrolled in last X day/before day/after day?
a rule to get the time added to a cohort (and time removed if that's possible)
Can you please provide a real business case for this rule?
thanks, well there are probably a few but i had in mind building a cohort for "new students" which can be hard to establish.
created in last 6 months
enrolled in a unit of type 1 or two (we can get this from cohort custom fields)
has not previously enrolled in any unit in a previous year (eg any 2024 category units)
has not previously completed orientation course
also potentially:
somehow ID returning students -
could be created for a while
has dropped out of previously enrolled unit(s)
not been enrolled in any unit since
rule to find if has been enrolled in x course in y category to get previous enrolment, afaiks i can get is/is not enrolled in x course but not have they ever been enrolled in any of x courses/x courses in a category.
can we get time enrolled in x course? something like "enrolment not ended before x weeks".
a rule to get the time added to a cohort (and time removed if that's possible)
all very edge case - just thoughts :)
The text was updated successfully, but these errors were encountered: