Activiti流程引擎

Activiti有25张表
act_re 流程定义和流程资源
act_ru 运行时,流程实例、任务、变量
act_hi 历史表
act_ge 通用表
act_id 身份信息表
获取流程引擎的工具类
ProcessEngines,使用默认方式获取配置文件,构造流程引擎,配置文件名字activiti.cfg.xml,放在classpath下
ProcessEngineConfiguration,可以自己定义配置文件名
服务接口:用于流程的部署、执行、管理,使用这些接口操作对应的表
RepositoryService 资源管理类
RuntimeService 运行时管理类
TaskService 任务管理类
HistoryService 历史数据管理类
ManagementService 流程引擎管理类


表结构

资源库流程规则表 
act_re_deployment 部署信息表 
act_re_model 流程设计模型部署表 
act_re_procdef 流程定义数据表 
运行时数据库表 
act_ru_execution 运行时流程执行实例表 
act_ru_identitylink 运行时流程人员表,主要存储任务节点与参与者的相关信息 
act_ru_task 运行时任务节点表 
act_ru_variable 运行时流程变量数据表 
历史数据库表 
act_hi_actinst 历史节点表 
act_hi_attachment 历史附件表 
act_hi_comment 历史意见表 
act_hi_identitylink 历史流程人员表 
act_hi_detail 历史详情表,提供历史变量的查询 
act_hi_procinst 历史流程实例表 
act_hi_taskinst 历史任务实例表 
act_hi_varinst 历史变量表 
组织机构表 
act_id_group 用户组信息表 
act_id_info 用户扩展信息表 
act_id_membership 用户与用户组对应信息表 
act_id_user 用户信息表 
这四张表很常见,基本的组织机构管理,关于用户认证方面建议还是自己开发一套,组件自带的功能太简单,使用中有很多需求难以满足 
通用数据表 
act_ge_bytearray 二进制数据表 
act_ge_property 属性数据表存储整个流程引擎级别的数据,初始化表结构时,会默认插入三条记录, 

act_evt_log

act_procdef_info

act_ru_event_subscr

act_ru_job

 

posted @ 2021-12-22 14:24  风吟雪  阅读(402)  评论(0编辑  收藏  举报