Event monitoring notification placeholders
  • 21 Jun 2022
  • 2 minutes to read

Event monitoring notification placeholders


Article Summary


When creating or editing an event monitoring rule, you can embed placeholders to add details to notification messages. The use of placeholders is optional; you can use any personalised message, but if you wish to use placeholders, there are some useful examples below.

The placeholders that can be used in a message template are as follows:

PlaceholderWhat it doesExample

{link}

Direct link to the actual event, e.g. a forum discussion.

http://YourTotara.com/mod/forum/discuss.php?d=2

{modulelink}

Link to the module where the event has happened, e.g. a forum.

http://YourTotara.com/mod/forum/view.php?id=8

{rulename}

A name for the rule.

Learner discussions.

{description}

A description of the rule.

I want to receive notifications when there is a large volume of learner posts in a discussion.

{eventname}

The name of the event being monitored.

Forum post created.

Some events do not have a link. For example, Course deleted and Course module deleted would not display any link if {link} or {modulelink} is used.

Example: Forum posts

In the example below a rule called 'learner discussions' has been set up to monitor the creation of forum posts, using the Forum post created event.

The notification message for this using placeholders might go as follows:

The rule {rulename}, monitoring the event {eventname}, has just been fulfilled. Click the following link to go to the forum discussion: {link}

Rule description: {description}

The result would display like this:

The rule learner discussions, monitoring the event Forum post created, has just been fulfilled. Click on the following link to go to the forum discussion: http://YourTotara.com/mod/forum/discuss.php?d=2.

Rule description: I want to receive notifications when there is a large volume of learner posts in a discussion.

Example: Glossary entries

In the following example, a rule has been created called 'Glossary entries' to monitor when a new glossary entry is created.

The notification message might use the following placeholders:

The rule {rulename}, monitoring the event {eventname}, has just been fulfilled. Click the following link to go to see the new entry created: {link}

Rule description: {description}

The message would look like this:

The rule Glossary entries, monitoring the event Entry has been created, has just been fulfilled. Click the following link to go to see the new entry created: http://YourTotara.com/mod/glossary/view.php?id=5&mode=entry&hook=1.

Rule description: I want to receive notifications when a new glossary entry is created.

Next steps

C003 - Reports(1)Get involved in the conversation about Reporting on the Totara Community. 

The Totara Academy has a whole course dedicated to using Reports in Totara. Here you can learn more on how to use reports, see best practice, and give it a go yourself.

© Copyright 2024 Totara Learning Solutions. All rights reserved.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.