Flowable 6.6.0 用户指南相关文档下载
- BPMN用户指南 第一部分 - 中文PDF精编版
- BPMN用户指南 第二部分 - 中文PDF精编版
- BPMN用户指南 第三部分 - 中文PDF精编版
- 应用程序指南 - 中文PDF精编版
- 应用程序指南 - 中英对照PDF精编版
- 应用程序指南 - Eclipse设计器中文PDF精编版
- 表单用户指南 - 中文PDF精编版
- 事件注册表用户指南 - 中文PDF精编版
1 表单配置(Configuration)
1.1创建一个表单引擎(Creating a Form Engine)
1.2 FormEngineConfiguration bean
1.3 插入流程引擎(Plug into Process Engine)
1.4 数据库配置(Database configuration)
1.5 JNDI数据源配置(JNDI Datasource Configuration)
1.6 数据库相关
1.7 部署缓存配置(Deployment cache configuration)
1.8 日志(Logging)
2.表单API
2.1 表单引擎API及服务
2.2 异常策略(Exception strategy)
2.3 查询API(Query API)
2.4 单元测试(Unit testing)
2.5 Web应用程序中的表单引擎(The Form engine in a web application)
3.Spring 集成
3.1 FormEngineFactoryBean
3.2 自动资源部署(Automatic resource deployment)
3.3 单元测试(Unit testing)
4 部署(Deployment)
5 表单简介(Form Introduction)
6 REST API
Flowable 6.6.0表单用户指南(Forms User Guide)
1 配置(Configuration)
1.2 FormEngineConfiguration bean
The flowable.form.cfg.xml must contain a bean that has the id ‘formEngineConfiguration’.
这个flowable.form.cfg.xml必须包含id为“formEngineConfiguration”的bean。
<bean id="formEngineConfiguration"
class="org.flowable.form.engine.impl.cfg.StandaloneFormEngineConfiguration">
This bean is then used to construct the FormEngine. There are multiple classes available that can be used to define the formEngineConfiguration. These classes represent different environments, and set defaults accordingly. It is a best practice to select the class that matches your environment the most, to minimize the number of properties needed to configure the engine. The following classes are currently available:
然后使用这个bean构造FormEngine。有多个可用类可用于定义formEngineConfiguration。这些类表示不同的环境,并相应地设置默认值。最佳做法是选择与您的环境最匹配的类,以最小化配置引擎所需的属性数。以下类别当前可用:
- org.flowable.form.engine.impl.cfg.StandaloneFormEngineConfiguration: the process engine is used in a standalone way. Flowable will take care of the transactions. By default, the database will only be checked when the engine boots (and an exception is thrown if there is no Flowable Form schema or the schema version is incorrect).
- org.flowable.form.engine.impl.cfg.StandaloneInMemFormEngineConfiguration: this is a convenience class for unit testing purposes. Flowable Form will take care of the transactions. An H2 in-memory database is used by default. The database will be created and dropped when the engine boots and shuts down. When using this, probably no additional configuration is needed).
- org.flowable.form.spring.SpringFormEngineConfiguration: To be used when the Form engine is used in a Spring environment. See the Spring integration section for more information.
- org.flowable.form.engine.impl.cfg.StandaloneFormEngineConfiguration:以独立方式使用流程引擎。Flowable将负责处理事务。默认情况下,只有在引擎启动时才会检查数据库(如果没有Flowable Form schema或schema版本不正确,则会引发异常)。
- org.flowable.form.engine.impl.cfg.StandaloneInMemFormEngineConfiguration:这是方便用于单元测试的类。Flowable Form将处理事务。默认情况下使用H2内存数据库。当引擎启动和关闭时,将创建并删除数据库。当使用这个时,可能不需要额外的配置)。
- org.flowable.form.engine.impl.cfg.StandaloneFormEngineConfiguration:在Spring环境中使用表单引擎时使用。有关更多信息,请参见Spring集成部分(the Spring integration section)。