Activiti - YUHAO-ZX/StudyCollection GitHub Wiki

1.用户文档:https://www.activiti.org/userguide

2.创建流程图:下载包中包含对应的war包,运行后打开相应流程图创建模块

3.目前支持几种常见的关系型数据库:h2,mysql,oracle等

4.支持spring,支持代码中编写sql风格的语句,用于筛选task等

#############上下文执行:
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
  ...
  <property name="beans">//here
    <map>
      <entry key="printer" value-ref="printer" />
    </map>
  </property>
</bean>
<bean id="printer" class="org.activiti.examples.spring.Printer" />
#############xml配置
<serviceTask id="print" activiti:expression="#{printer.printMessage()}" />

#############多资源配置:
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
  ...
  <property name="deploymentResources"
    value="classpath*:/org/activiti/spring/test/autodeployment/autodeploy.*.bpmn20.xml" />
</bean>

<bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean">
  <property name="processEngineConfiguration" ref="processEngineConfiguration" />
</bean>

5.WhatIsBpmn20:activiti业务流程模型和符号

⚠️ **GitHub.com Fallback** ⚠️