Hi
What I have learned from Experience is that Bonita does not delete any columns (fields).
If you remove a field from BDM, the column would still exist in Database.
But if its a mandatory field and its missing from BPM, the affected Proces will show error.
It will show as Database configuration unresolved. There would be an Red Exclaimation sign.
Its better to not remove fields from BDM.
But you can add new fields in the BDM. Thats fine.
For changing the column Type or Field type, changing in BDM does not reflect in Database. I had to manually write a SQL script to update the Database column type.
Again, if there is existing data, it might not allow you to do so.
Be careful. Modifying Existing BDM can affect process configurations and show error.
Always keep a copy of the Existing BDM as backup.
OK understood. Do not delete and do not modify fields. But if it is possible to add new fields and continue with the data of the BDM and the cases that have been executed.
Now, if the process changes quickly by a significant percentage, is it convenient to have a BDM refactoring? how do I get information from a case of the process in an earlier version?
In the scenario that the Process changes significantly, try to see if adding new fields will help or not.
This means your new Process has existing fields plus new fields.
We think that it might cause overhead or slow performance. Since no of Records increases , data retrieval or insertion will be slow.
But There is no such indication from Bonitasoft on this. They expect the Process to respond normally. No slowness should be expected.
I had a process where I was having around 100 columns (fields) for a Particular process.
Then we modified the process and removed close to around 70 columns. Same process but version was different.
Instead of using the same table, I created a new table with less columns. The New version of the Process was referring to the new table.
I have not performed any Test to measure if there is any change in performance but on a high level, it appears both have same response time.
In order to show records from Previous table , I just create a instance of the Previous table and fetch records based on Request Id or case Id.
There are multiple API available to fetch information regarding the case overview.
But for database, you need to use BDM API and specific for your table to pull records and display
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.