Activiti 工作原理
流程部署
部署流程定义文件
生成部署ID
流程解析
注册流程元素行为
流程启动
创建作用域
执行行为
获取路由
销毁作用域
完成任务
创建作用域,复制父执行(流程实例)的流程变量
执行行为
获取路由或结束执行
销毁作用域
流程管理
start 启动流程
destroy 销毁流程变量
end 结束执行流
take 获取路由
singal 手动获取路由
完成任务时会调用 singal(null, null)
此方法是PVM最重要的方法.用于手动执行流程.
在UserTaskActivityBehavaior主要用于获取路由.当没有可选择的路由时,流程的执行流结束.
部署流程定义文件
生成部署ID
流程解析
注册流程元素行为
流程启动
创建作用域
执行行为
获取路由
销毁作用域
完成任务
创建作用域,复制父执行(流程实例)的流程变量
执行行为
获取路由或结束执行
销毁作用域
流程管理
start 启动流程
destroy 销毁流程变量
end 结束执行流
take 获取路由
singal 手动获取路由
完成任务时会调用 singal(null, null)
此方法是PVM最重要的方法.用于手动执行流程.
在UserTaskActivityBehavaior主要用于获取路由.当没有可选择的路由时,流程的执行流结束.