Cycle time event - Cannot load class

Hello,

I am facing a problem with my cycle time event. It should send email reminders for user to finish the task. Here’s the definition below:

Unfortunately, I am getting exception ENGINE-09008 Exception while instantiating class ‘com.snp.ecm.workflow.commons.SendEmail’: ENGINE-09017 Cannot load class ‘com.snp.ecm.workflow.commons.SendEmail’

I am calling this class in other places in the process (e.g. in seen above user task for sending task notification email) and everything works fine.

I tried calling class not by “Java Class” Listener Type but “Delegate Expression” - still, doesn’t work.

I would appreciate every suggestion, what I am doing wrong. Thank you in advance.

Hi @mmajka,

If your need is to send reminder periodically then things should be modeled differently.

An outgoing sequence flow should get out from the boundary timer to a service task implementing the send reminder logic.

And it seems your class is a TaskListener implementation so it works properly with user task but using it as ExecutionListener would cause errors as ExecutionListener implementation is different than TaskListener implementation.