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

Event monitor: Consider how often to send messages to users

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. In a course, go to
        test / ►Reports / ►Event monitoring rules
        And create a rule with details:-
        Plugin:-Book
        Event:- chapter viewed
        Frequency:- 5 in 5 minute
        Fill in the rest fields as you like
      2. Now go to My profile settings / ►Event monitoring and subscribe to the rule you just created with "All modules" as the option in the drop down.
      3. Now visit a chapter exactly 7 times in the same course.
      4. Run cron.
      5. Make sure you get only one notification for the rule in your messages.
      6. Run unit tests in tool_monitor

      PS:- You might want to configure your message setting to set how you want these notifications to be delivered (via email / popup msg/etc)

      Show
      In a course, go to test / ►Reports / ►Event monitoring rules And create a rule with details:- Plugin:-Book Event:- chapter viewed Frequency:- 5 in 5 minute Fill in the rest fields as you like Now go to My profile settings / ►Event monitoring and subscribe to the rule you just created with "All modules" as the option in the drop down. Now visit a chapter exactly 7 times in the same course. Run cron. Make sure you get only one notification for the rule in your messages. Run unit tests in tool_monitor PS:- You might want to configure your message setting to set how you want these notifications to be delivered (via email / popup msg/etc)
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull Master Branch:
      MDL-47465-master

      Description

      As raised on MDL-47171 and a few times on scrum, we need to decide on how often do we want to send emails when rule criteria is met.

      Please read comments on MDL-47171 for an example

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ankit_frenz Ankit Agarwal
              Reporter:
              ankit_frenz Ankit Agarwal
              Peer reviewer:
              Frédéric Massart
              Integrator:
              Dan Poltawski
              Tester:
              Rajesh Taneja
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14