Hello,
I'm working on a development project with Totara to create a new program message template that triggers based on a trigger time of my choosing. I have found most of the relevant places in the core Totara files that will need to be edited in order to create a new message template, but I can't figure out where in the code the trigger time for a message is actually defined. For example, the Program Overdue message is set to trigger X days after the program is due, but where in the code is this value actually converted into a time that can be stored in the database and checked against to determine when to send out the message?
Thanks for any help. (I'm working with Totara version 12.4.)