Send report result via mail regularly

LabKey Support Forum (Inactive)
Send report result via mail regularly Jon (LabKey DevOps)  2015-05-05 00:31
Status: Closed
 
Hi Alex,

Just to confirm, was this the documentation you followed?

https://www.labkey.org/wiki/home/Documentation/page.view?name=folderNotifications
https://www.labkey.org/wiki/home/Documentation/page.view?name=manageViews#notifications

My answers are below each question you asked:

- Is this the right approach for the above requirements or would you implement it differently?

Answer: This is the right way to do it if the instructions above are followed correctly. Please also note that the reports have to be visible and shared for the notifications to go out as well.

- can I manually test the sending of a report change digest mail? if so how?

Answer: You should be able to set the 15 minute digest to test the frequency and then do some updates.

- at what time each day is the 24 hour digest sent?

Answer: According to our documentation, it does say 24 hours, but I'll confirm whether it's an official 24 hours from the time things are set or if it is 24 hours from the time the server is started.

- where can I see a record of the e-mails sent by the system?

Answer: You should see this in the Audit Log under Admin > Site > Admin Console > Audit Log and select Message Events.

- is the digest triggered by changes in the data returned by the query report? or just a change in the report parameters?

Answer: The digest message should go out when the content of reports or datasets change occurs provided the report is both visible and shared.

- I saw that only a LK user can register to be notified by a report -> I need to register just an e-mail -> so can I achieve this via a custom JAVA module = run a report regularly and send the result via mail to a specific e-mail?

Answer: Yes, you could potentially build a custom Java module to run on its own mail sending rules. For more information on building a Java Module: https://www.labkey.org/wiki/home/Documentation/page.view?name=buildingModule

Regards,

Jon