Previous posts of the jBPM Getting Started Series should provide a good base for the understanding of this chapter. Also, basic knowledge about application transactions should provide a better understanding of the chapter. The engine can be tuned for business automation projects to achieve better performance results are achieved. Mainly when involving business rules validation,… Continue reading 5. Techniques to boost a BA Project
Great post from Sudhish Nair, an expert on process and rules automation.
jBPM provides options to configure notification emails to be send to any user if the human task is not started or not completed.
We will start with configuring JavaMail sessions via JNDI so that infrastructure for mail is handled.
We would be using “jbpm-server-7.37.0.Final-dist” version for this example.
Configure Mail Session in wildfly
In the standalone configuration for jBPM we need add below configurations.
Configure Socket binding for smtp-port
<outbound-socket-binding name="mail-notification-smtp"> <remote-destination host="smtp.gmail.com" port="465"/> </outbound-socket-binding>
host -: host name of SMTP server
port -: port no of SMTP server.
Configure Mail-Session in Mail subsystem
<mail-session name="notification" jndi-name="java:/notificationMailSession" from="email@example.com"> <smtp-server outbound-socket-binding-ref="mail-notification-smtp" ssl="true" username="firstname.lastname@example.org" password="yourPassw0rd"/> </mail-session>
from -: From address for your emails (Valid email account on SMTP server).
username -: username for the email account
password -: password for the email account.
Add below system property to standalone.xml file.
<system-properties> <property name="org.kie.mail.session" value="java:/notificationMailSession"/> </system-properties>
Configure user info for Human…
View original post 423 more words