cancel
Showing results for 
Search instead for 
Did you mean: 

in cluster, change process definition, how to synchronized with nodes

wangyu_937
Champ in-the-making
Champ in-the-making
Activiti in cluster, change or update process definition through web management console, how to notify all nodes. That is how to synchronized process definition.
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
Wha do you mean with 'change'?

If you deploy a new process definition, a new unique identifier will be generated. All the process caches on each of the cluster nodes will auotmatically pick this up and stop using the old ones.

wangyu_937
Champ in-the-making
Champ in-the-making
I mean that Process definition does not exist in database, only the key and version of process definition. I deploy a new process defintion in one of cluster nodes, the other nodes only find unique identifier in database, but have not bpmn20.xml to reload.  

jbarrez
Star Contributor
Star Contributor
The other nodes will see it's a process definition which is not in the cache, and will fetch and parse the xml themselves.