工作流Flowable实战 (一)springboot集成flowable 6.4.2

Springboot pom.xml

<!-- flowable 核心包 -->
<dependency>
    <groupId>org.flowable</groupId>
    <artifactId>flowable-spring-boot-starter</artifactId>
    <version>${flowable.version}</version>
</dependency>
<!-- flowable json转换包 -->
<dependency>
    <groupId>org.flowable</groupId>
    <artifactId>flowable-json-converter</artifactId>
    <version>${flowable.version}</version>
</dependency>
<!-- flowable 设计器接口包 -->
<dependency>
    <groupId>org.flowable</groupId>
    <artifactId>flowable-ui-modeler-rest</artifactId>
    <version>${flowable.version}</version>
</dependency>

流程设计器

设计器可以放在后端或前端,放在后端如果集群部署,则每个应用中都会存在一份设计器,建议前端引入

后端引入

将设计器源码复制到resources/static/designer目录中,修改scripts/app-cfg.js,

FLOWABLE.CONFIG = {
	'onPremise' : true,
	'contextRoot' : '/api',
	'webContextRoot' : '/api/designer',
	'datesLocalization' : false
};

前端引入

前端框架用的Layui,
将设计器源码复制到/components/flow/designer目录中,修改scripts/app-cfg.js,

FLOWABLE.CONFIG = {
	'onPremise' : true,
	// nging 转发,请求后台
	'contextRoot' : '/api',
	'webContextRoot' : '/components/flow/designer',
	'datesLocalization' : false
};

flowable设计器源码附上 提取码:ergw

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值