Detailed explanation of activiti's core table

Although Activiti provides a lot of ready-made interfaces, once the business is complicated, you have to write SQL yourself. Therefore, you have to have more mastery of the database tables to better adapt to the business.

1. Resource library process rule table

  1. act_re_deployment deployment information table
  2. act_re_model Process design model deployment table
  3. act_re_procdef process definition data table

2. Runtime database tables

  1. act_ru_execution runtime process execution instance table
  2. act_ru_identitylink runtime process personnel table, which mainly stores information about task nodes and participants
  3. act_ru_task runtime task node table
  4. act_ru_variable Runtime process variable data table

3. Historical database table

  1. act_hi_actinst historical node table
  2. act_hi_attachment historical attachment table
  3. act_hi_comment historical comment form
  4. act_hi_identitylink historical process personnel table
  5. act_hi_detail historical detail table, providing query of historical variables
  6. act_hi_procinst historical process instance table
  7. act_hi_taskinst historical task instance table
  8. act_hi_varinst historical variable table

4. Organization table (the act_id_ table is generally not used)

  1. act_id_group user group information table
  2. act_id_info user extended information table
  3. act_id_membership user and user group corresponding information table
  4. act_id_user user information table

These four tables are very common, basic organization management, it is recommended to develop a set of user authentication, the built-in function of the component is too simple, there are many needs in use that are difficult to meet

5. General data sheet

  1. act_ge_bytearray binary data table (used in the update flowchart, need to replace the binary file)
  2. The act_ge_property attribute data table stores the data of the entire process engine level. When the table structure is initialized, three records are inserted by default

Guess you like

Origin blog.csdn.net/qq_29407683/article/details/90105433