JBoss Community

Re: query an external database from a process

created by suprit chaudhary in jBPM - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in jBPM at Community