Skip to main content

"User completed or failed a test in a course" Only show last test in a course?

  • March 1, 2023
  • 3 replies
  • 64 views

We have a course that has numerous formative tests that do not count for the final score. For this course we've set up a notification that is triggered by the event "User completed or failed a test in a course”. In the email that is sent we want to see the answers the learners have given and their score. For this end, we use the shortcode [test_result]. Now we receive notifications for a formative questions as well.

Is it possible to only receive an e-mail for the final (summative) test? If we use the event "Learner completed a course” to trigger the notification we can only use the shortcode [final_score], which doesn't show the answer the learner submitted.

3 replies

lrnlab
Hero III
Forum|alt.badge.img+10
  • Hero III
  • 5381 replies
  • March 1, 2023

I found that some short codes work on other templates although they are not explicitly listed in the available short codes for a specific template...maybe give it a try and see if it works?


  • Author
  • Novice III
  • 9 replies
  • March 2, 2023

Thanks for the tip, unfortunately for the shortcode [test_result] this is not the case.

I'm afraid we'll have to  accept that we'll receive email-notifications for the formative test-questions as well.


lrnlab
Hero III
Forum|alt.badge.img+10
  • Hero III
  • 5381 replies
  • March 2, 2023

Thanks for the tip, unfortunately for the shortcode [test_result] this is not the case.

I'm afraid we'll have to  accept that we'll receive email-notifications for the formative test-questions as well.

was worth a try...sorry it didn't work.