Totara Learn Open Discussions

A way to test notifications / manually trigger notifications?

 
Dhairya Kapadia
A way to test notifications / manually trigger notifications?
by Dhairya Kapadia - Monday, 24 March 2025, 3:16 AM
Group Good learner 2024Group Partners

Hi,

I was wondering if i can manually trigger a notification to see what it looks like ?

i couldn't find how this would be possible. Please let me know.
I am talking about all the notification types

Dhairya Kapadia
Re: A way to test notifications / manually trigger notifications?
by Dhairya Kapadia - Monday, 24 March 2025, 4:22 AM
Group Good learner 2024Group Partners

ALSO, what are notification templates?
how can i integrate them with the regular notifications ?

Craig Eves
Re: A way to test notifications / manually trigger notifications?
by Craig Eves (Totara Support) - Monday, 24 March 2025, 5:53 PM
Group Totara

Hi Dhairya

I am not sure what version you are using -older version of Totara have seminar notification templates that provide standard wording and placeholders suitable for the type of notification it is.

Centralised notifications import these templates using the same content

Regards

Craig Eves
Re: A way to test notifications / manually trigger notifications?
by Craig Eves (Totara Support) - Monday, 24 March 2025, 5:47 PM
Group Totara

Hi Dhairya

There isn't a built feature to test the sending of notifications so you would need to set up a test user and possibly a test course where the notification is triggered without being triggered for other users.

Alternatively a staging site could be used with all mail directed to a mail capture program

If you are using one of text editors in Totara then the format of the email should look similar to what is sent.

Regards


Dhairya Kapadia
Re: A way to test notifications / manually trigger notifications?
by Dhairya Kapadia - Tuesday, 25 March 2025, 3:56 AM
Group Good learner 2024Group Partners

I encountered another issue.
The course notifications work fine.

However when enabled for programs with the same settings, the notifications are not working.

noticed something unusual when checking the logs:
the course notification that works fine has the status as 1/1

the programs have 0/1.. and when opened, there is nothing inside. it shows the notification name, but displays the status as 0/0 within the program notifications. any idea why this is happening ?

Craig Eves
Re: A way to test notifications / manually trigger notifications?
by Craig Eves (Totara Support) - Tuesday, 25 March 2025, 12:24 PM
Group Totara

Hi Dhairya

Are you able to click on the Error link in the report to see if this provides more information on the problem?

Regards


Dhairya Kapadia
Re: A way to test notifications / manually trigger notifications?
by Dhairya Kapadia - Wednesday, 26 March 2025, 1:05 AM
Group Good learner 2024Group Partners

It shows nothing. The error link is just like a tooltop that says errors were found, but when i click View, there are no records found.

Dhairya Kapadia
Re: A way to test notifications / manually trigger notifications?
by Dhairya Kapadia - Wednesday, 26 March 2025, 7:05 AM
Group Good learner 2024Group Partners

I managed to get that working. Please confirm someting for me.

In older Totara version, specifically 13,
the notifications used for seminar (which are now legacy notifications), how did they used to get sent ?

was it email only? or was it in the notification panel ? or what?

Craig Eves
Re: A way to test notifications / manually trigger notifications?
by Craig Eves (Totara Support) - Wednesday, 26 March 2025, 6:03 PM
Group Totara

Hi Dhairya

Glad you have got this working. The error link didn't show for me so thought it must have had information on the error.

In legacy notifications - the messages were created and placed in a queue and sent when required to be sent . The system would determine that the notification had not been sent to a number of users who already met the criteria for receiving that notification, and would then send that notification to those users. In most cases, this was not the intended outcome. Legacy seminar notifications are sent to the Alert block by default and these by default send an email . It is possible to change the default message outputs or a usersso the email output is disabled

In centralised notifications the notifications are not queued the event trigger is checked to evaluate what notifications should have been sent between now and the last time that notifications were sent.

regards