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
Category: Uncategorized
How to configure notification for Human Task in jBPM
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="youremailid@gmail.com">
<smtp-server outbound-socket-binding-ref="mail-notification-smtp" ssl="true" username="youremailid@gmail.com" 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