In JBPM 5x versions, the process definitions xml's were stored in the guvnor and if we wanted to get the same using java code we could you use the REST API's http://localhost:8080/drools-guvnor/rest/packages//assets//source/
With Version 6, if I understand correctly all the assets(process,rules) are packaged within knowledge archives -kjars . What would be the best way to fetch these process definitions xml's programmatically .