ported to jbpm6.2