Hello I am trying to use a mouseClicked event Handler to execute and send a report by email but I can't seem to get it to do anything when the button is clicked
this is my code
system.report.executeAndDistribute(path="Tallow pumps", project="Copy_Of_Joslin_test_CJL", action= "email",
actionSettings = {"to":['christopher.lang2@tyson.com'], "smtpServerName":"10.16.1.86", "from":"reporting@myplant.com", "subject":"Production Report"})
any ideas would be helpful