JBoss Community

Re: Exception when trying eastablish connection and send emails using jBPM 5.1 EmailWorkItemHandler (but not having connection issues with seperate email service with same credentials)

created by Pooja Arora in jBPM - View the full discussion

It is because you have not registered the handler with manager.

Before

                  emailHandler.executeWorkItem( workItem, manager );

add

 

                    ksession.getWorkItemManager().registerWorkItemHandler("Email", emailHandler);

 

 

Pooja

Reply to this message by going to Community

Start a new discussion in jBPM at Community