process variable
The jbpm4_hist_var table is used to store the data generated by the process instance
void org.jbpm.api.ExecutionService.createVariable(String executionId, String name, Object value, boolean historyEnabled),
But it is not recommended to use
① Process control and data generated by process control should be separated
②The data generated in the process control process is mainly used for statistics and analysis, and the fields of the jbpm4_hist_var table cannot meet the requirements
jbpm4 provides a way to save process variable persistence
But if you use the jbpm4 method to persist the process variables, it means that the data structure of all data is written to death
If more complex query statistics are required in the future, the table of jbpm4 itself cannot meet the requirements at all
The table of flow control and the table of data structure are separated