Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-52425

Apply competency rules when a competency is marked as completed

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Create a framework with this structure and rules
        • A (complete when all children are complete)
          • A1
          • A2
        • B (recommend when all children are complete)
          • B1
        • C (evidence when all children are complete)
          • C1
        • D (no rule)
          • D1
      2. Set-up a course with competencies A1, A2, B1, C1, D1
        • Set the course rule to mark those as complete upon course completion
      3. Set the course completion to be manually marked
      4. Enrol a user in the course
      5. Create a plan for the user with all competencies from the framework created above
      6. Confirm that the plan competencies not rated
      7. Mark the course as completed
      8. Run the task: php admin/tool/task/cli/schedule_task.php --execute=\\core\\task
        completion_regular_task
      9. Back to the user's plan, confirm that:
        • A, A1, A2 are all completed. An evidence was added to A.
        • B is up for review, B1 is completed. An evidence was added to B.
        • C is unrated, C1 is completed. An evidence was added to C.
        • D has not changed: unrated, no evidence
      Show
      Create a framework with this structure and rules A (complete when all children are complete) A1 A2 B (recommend when all children are complete) B1 C (evidence when all children are complete) C1 D (no rule) D1 Set-up a course with competencies A1, A2, B1, C1, D1 Set the course rule to mark those as complete upon course completion Set the course completion to be manually marked Enrol a user in the course Create a plan for the user with all competencies from the framework created above Confirm that the plan competencies not rated Mark the course as completed Run the task: php admin/tool/task/cli/schedule_task.php --execute=\\core\\task completion_regular_task Back to the user's plan, confirm that: A, A1, A2 are all completed. An evidence was added to A. B is up for review, B1 is completed. An evidence was added to B. C is unrated, C1 is completed. An evidence was added to C. D has not changed: unrated, no evidence
    • Affected Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-52425-master
    • Sprint:
      CBE Sprint 3

      Description

      We need to decide how to do this, whether in real time, or in a cron job.

        Attachments

          Activity

            People

            Assignee:
            fred Frédéric Massart
            Reporter:
            fred Frédéric Massart
            Peer reviewer:
            Damyon Wiese
            Participants:
            Component watchers:
            Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: