I would like to save a bpmn file in the knowledge base, from inside a Java program, to later retrieve it and execute it, again from inside a Java program.
Could you please point me to the API to do this? (I'm using jBPM 5.0)
You can do that with common APIs.
You can find some examples here: https://github.com/Salaboy/Drools_jBPM5-Training-Examples
And some slides explaining the APIs here:
Follow the links for each module.
Retrieving data ...