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
Hi,
We are using the questionnaire module on Totara.
Regular completion of the questionnaire activity in a course (when questionnaire is submitted) works as expected.
However, when the questionnaire is part of a course that is part of a certification, the a user recertification time come, all activities in the course are begin reset to not complete status so the user can redo and complete the activity again.
All other built in Moodle/ Totara modules support this except the Questionnaire module which remains in completion mode.
The activity reset is done by updating the state in course_modules_completion, where totara uses update_state function in each plugin
Update Sate function is defined in server/lib/completionlib.php file
public function update_state($cm, $possibleresult = COMPLETION_UNKNOWN, $userid = 0, $current = null) {
}
Our question is where in the questionnaire plugin we can use this function so that it changes the state when certification window open from state 1 to state 0 by cron?
The text was updated successfully, but these errors were encountered:
Hi,
We are using the questionnaire module on Totara.
Regular completion of the questionnaire activity in a course (when questionnaire is submitted) works as expected.
However, when the questionnaire is part of a course that is part of a certification, the a user recertification time come, all activities in the course are begin reset to not complete status so the user can redo and complete the activity again.
All other built in Moodle/ Totara modules support this except the Questionnaire module which remains in completion mode.
The activity reset is done by updating the state in course_modules_completion, where totara uses update_state function in each plugin
Update Sate function is defined in server/lib/completionlib.php file
public function update_state($cm, $possibleresult = COMPLETION_UNKNOWN, $userid = 0, $current = null) {
}
Our question is where in the questionnaire plugin we can use this function so that it changes the state when certification window open from state 1 to state 0 by cron?
The text was updated successfully, but these errors were encountered: