Bonita engine API: How can I disable cleanup the database on restarting the server?
in src/main/java/org/bonitasoft/example/App.java there is
// undeploy the process
// delete the created user
// perform all necessary actions to delete the platform
// undeploy the data source
If you remove that code the data will not be cleaned.
If you are using the default database h2 memory nothing will be kept after a service restart. In that case you should use an other database like postgres.
BR, Baptiste Mesta
Thanks baptiste.mesta this is helpful