什么是工作流
工作流(Workflow),就是“业务过程的部分或整体在计算机应用环境下的自动化”,它主要解决的是“使在多个参与者之间按照某种预定义的规则传递文档、信息或任务的过程自动进行,从而实现某个预期的业务目标,或者促使此目标的实现” 。
通俗的说,流程就是多个人在一起合作完成某件事情的步骤,把步骤变成计算机能理解的形式就是工作流。
Business Process Model and Notation (BPMN) 业务流程建模符号
The Business Process Modeling Notation (BPMN) is a graphical notation that depicts the steps in a business process. BPMN depicts the end to end flow of a business process. The notation has been specifically designed to coordinate the sequence of processes and the messages that flow between different process participants in a related set of activities.
现在的标准是: BPMN 2.0
常用框架:Activiti、JBPM、Shark、OSWorkflow、ActiveBPEL、YAWL等
Activity介绍
官网地址 https://www.activiti.org/
-
主要符号 (符合BPMN标准)
image.png -
初尝Activiti
在 http://localhost:8080/activiti-explorer 下载好activiti-explorer.war后部署到tomcat下即可访问示例流程程序。
账号密码都是kermit -
部署流程
把画好的流程图部署即可。
image.png -
启动流程
image.png -
任务签收与办理
image.png
image.png -
结构
image.png
网友评论