This content has been marked as final.
Show 2 replies
-
1. Re: query an external database from a process
supritchaudhary Sep 28, 2012 12:03 PM (in response to shill)1 of 1 people found this helpfulYes 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.
-
2. Re: query an external database from a process
shill Oct 4, 2012 9:47 AM (in response to supritchaudhary)Thanks for the info.
Meanwhile I had a solution without database queries. If I have more time I'll later change to database query.