一、Flowable Modeler 簡介
Flowable Modeler用于建模BPMN流程、DMN選擇表、表單定義,以及創(chuàng)建應(yīng)用定義。BPMN Modeler使用與Flowable 5相同的Oryx與Angular架構(gòu),只是遷移為獨(dú)立的Modeler應(yīng)用中。
二、開始
1. 添加依賴
在使用Flowable Modeler應(yīng)用時(shí),要先部署Flowable IDM應(yīng)用。
Flowable IDM應(yīng)用,用于其他三個(gè)Flowable web應(yīng)用的認(rèn)證與授權(quán)。因此如果你想要運(yùn)行Modeler,Task或者Admin應(yīng)用,就需要運(yùn)行IDM應(yīng)用。Flowable IDM應(yīng)用是一個(gè)簡單的身份管理應(yīng)用,目標(biāo)是為Flowable web應(yīng)用提供單點(diǎn)登錄能力,并提供定義用戶、組與權(quán)限的能力。
所以要同時(shí)加入IDM和Modeler兩個(gè)包
<dependency>
<groupId>org.flowable</groupId>
<artifactId>flowable-spring-boot-starter-ui-idm</artifactId>
<version>6.6.0</version>
</dependency>
<dependency>
<groupId>org.flowable</groupId>
<artifactId>flowable-spring-boot-starter-ui-modeler</artifactId>
<version>6.6.0</version>
</dependency>
2. 添加配置
配置賬號密碼
flowable:
idm:
app:
admin:
password: test
user-id: admin
first-name: admin
last-name: admin
3. 登錄
加入依賴和配置后就基本OK了,啟動(dòng)項(xiàng)目訪問地址:
http://localhost:9000/modeler

modeler登錄界面

modeler主頁面