How to save Camunda decision rules in database

486 views Asked by At

We are facing an issue with Camunda orchestrator restarts.

We lose all decision rules of DMNs after deploying new versions of processes.

Could you please suggest if possible an out of the box solution to save rules and reload them after restart, if not possible an explanation of how to do it is OK also ?

Thanks

2

There are 2 answers

2
Jan Galinski On BEST ANSWER

I guess you have one version of the dmn in your src/main/resources, so it's auto deployed on start ... and then deploy updated versions "on the fly" via REST.
You have to update the table in resources as well or disable auto-deployment to not overwrite your ad-hoc changes again.

0
rob2universe On

Please also see: Camunda load BPMN XML from database

The same explanation applies to any kind of model (BPMN,DMN,CMMN)