[Resolved] Task manager email notification

Primary tabs

Hi, 

I created a task from Management portal  Task manager to use the Ens.Util.Tasks.Purge task . Task set up includes email notification setup for Completion email and error email.

This task is giving an error  and no email is generated: 

<CLASS DOES NOT EXIST>zSendMail+22^%SYS.TaskSuper.1 *Security.SSLConfigs

I tested all other task types available from Ens.Util.task but all are giving the same error.

Not sure if this Is this a bug or some missing configuration in the task setup ? Anyone noticed any similar issue or any idea how to fix this ? 


Thank you for your help.

Regards,

Mary

 

Replies

Hi,

Have you configure your SMTP configuration?

System Administration -> Configuration -> Additional settings -> Task manager email

The SSL configurate (SSL Dummy) is a empty certificate to use HTTPS instead.

Best regards,
Francisco Lopez

Thank you @Kurro Lopez for the reply.  

Yes I have the Task manager email configured and the ssl certificate configuration done. Also other task configured from task manager like Integrity check are sending email successfully. 

I think the user _purges has the same privileges than the other task that is working, isn't it?

I tested the integrity check task under the same user _purge , email is working okay for it. 

Hi:

I'm not sure if it is because we are on an older version of Healthshare. But Our version of the Ens.Util.Tasks.Purge does not contain the two fields for the send completion email? If this is the case and you have modified the Ens.Util.Tasks package you should not directly modify these classes, you should create a task that extends Ens.Util.Tasks.Purge. 

As I suspect your Ens.Util.Tasks.Purge has been manually edited to include these properties we would need to see the code of the send method to see the error 

Healthshare version we are using is 2019.1.1 . I also had a look at 2018.1.2 and I can see the email configuration option in it. And as far as I know no one has edited the Ens.Util.Task package but I am going to double check this. 

 Can I please check which version you are using? 

WRC confirmed it as a bug in Healthshare . Fixed in version 2019.2 and above.