认识activiti
工作流总是以任务的形式驱动人处理业务或者驱动业务系统自动完成任务,有了工作流引擎之后我们不需关注其他人的任务完成情况,直白的说我们只需要关注系统首页的待办任务即可。
1.1什么是activiti
activiti 是企业用户、开发人员、系统管理员的轻量级工作流任务管理平台,其核心是使用java开发的快速、稳定的jbpm2.0流程引擎
1.2工作流基础
1.2.1 什么是bpm
- bpm中文含义业务流程管理。
- 为了实现一定的经营目的而执行的一系列逻辑相关的活动的集合
1.2.2工作流声明周期
1. 定义------工作流声明周期由流程定义开始,此阶段的主要任务是收集需求并转化为流程定义
2. 发布------由开发人员打包各种资源,然后在系统管理中发布流程定义
3. 执行------具体的工作流流程执行
4. 监控------业务人员在办理流程的同时收集每个任务的结果,然后根据结果做出相应的处理
5. 优化------业务流程具体优化
1.2.3什么是bpmn
**业务流程建模标注**
1.3Activiti的特点
1. 数据持久化
2. 引擎service接口
3. 流程设计器
4. 原生支持Spring
5. 分离运行时与历史数据