Improve JBPM integration