Hi everyone. This is my first post, so let me say thank you to you all for your efforts on jBPM (& drools) as well as the community support.
I'm investigating using the jBPM engine in isolation without the workbench. I've got the engine up and running thanks also in part to the spring support coming in jBPM 6.1.
I'm looking into persistence right now. I know process instances are persisted, but can process definition also be persisted through just the jBPM engine? It looks like this is supported, but I'm struggling to figure out how to configure this. From the user guide (Section 8.1 Process Instance State),
Also, the process definitions themselves, and the history information (logs of current and previous process states already) can also be persisted.
The rest of the chapter discusses process instance and history information persistence but not process definitions.
I've seen a number of different posts including how to deploy processes in jBPM 6? which discusses how the workbench now uses maven to manage process definitions and Clustering in jBPM v6 which discusses using git for asset management including process definitions. There's also How to store process definition to the database in jBPM5? which is similar to what I'm interested in for jBPM 6. In that discussion, a DMS such as Alfresco was mentioned.
Currently, I'm using the RuntimeEnvironmentFactoryBean to load a bpmn file at startup. I'd like to have something more dynamic where processes can be added and removed at runtime, backed by some form of persistence or asset management. I recognize this isn't the typical jBPM operating model.
Any feedback would be appreciated.
Thanks,
John