Activiti's related SQL statements and their specific usage

########################## 1: Tables related to deployment objects and process definitions ############## ##############
SELECT * FROM act_re_deployment #Deployment object table

SELECT * FROM act_re_procdef #Process definition table

SELECT * FROM act_ge_bytearray #Resource file table

SELECT * FROM act_ge_property #Primary key generation strategy table

########################### 2: Process instance, execution object, task ############## #############
SELECT * FROM act_ru_execution #Execution object table being executed

SELECT * FROM act_hi_procinst #History table of process instances

SELECT * FROM act_ru_task #Executing task table (only when the node is UserTask, there is data in this table.)

SELECT * FROM act_hi_taskinst #Task history table (only when the node is UserTask, there is data in this table.)

SELECT * FROM act_hi_actinst #History table of all active nodes

############################ 3: Process Variables #################### ########
SELECT * FROM act_ru_variable # Executing process variable table

SELECT * FROM act_hi_varinst # historical process variable table

############################# 4: Individual users, group tasks################ ###########
SELECT * FROM act_ru_identitylink # Task handler table

SELECT * FROM act_hi_identitylink # Historical task handler table

########################### 5: ###########################
SELECT * FROM act_id_group # role table

SELECT * FROM act_id_user # user table

SELECT * FROM act_id_membership # user role table

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325612986&siteId=291194637