cancel
Showing results for 
Search instead for 
Did you mean: 

PVM engine

romain1
Champ in-the-making
Champ in-the-making
Hello,

I am interested in using Activiti in "offline mode", with no database.
My need is to load process definition from an XML file, to create an instance of this process and start it.
Finally, I inspect the instance status.

Globally, I can already use Activiti in that way. However, I have some problems.
I would like to know if it is my fault (a wrong use of Activiti) or if I have to wait for bug fix/new feature.

1) The XML parser for process definitions does not work in a standalone mode. It seems it requires a database.
2) The execution of process with parallel branches does not work offline. It seems also to require a database in order to store a lock.

If those problems do not come from a wrong use of Activiti, it would be nice to have those features on a future version.

Thank you for this project, it seems on a good way.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
1) The BPMN 2.0 activities require indeed a database to work
2) that's indeed the case for the BPMN parallism.

Note that if you want to use the PVM without a database, you need to use the PVM interfaces and activities, not the BPMN 2.0 ones.
Check the PVMxxx tests that show how that is done.