1 of 1 people found this helpful
Yes it is possible to query external database from process task handlers.
Study the Taskorm.xml. For custom database you need to defined the entry in Standalone.xml for database binding.
Then you can define you custom entity class in persistence.xml and you can define your query in orm.xml file that you need to include in persistence.xml
In Taskorm.xml you will see query for processes and tasks that jbpm use internally.
Thanks for the info.
Meanwhile I had a solution without database queries. If I have more time I'll later change to database query.