一、Flowable Modeler 簡介
Flowable Modeler用于建模BPMN流程、DMN選擇表、表單定義,以及創建應用定義。BPMN Modeler使用與Flowable 5相同的Oryx與Angular架構,只是遷移為獨立的Modeler應用中。
二、開始
1. 添加依賴
在使用Flowable Modeler應用時,要先部署Flowable IDM應用。
Flowable IDM應用,用于其他三個Flowable web應用的認證與授權。因此如果你想要運行Modeler,Task或者Admin應用,就需要運行IDM應用。Flowable IDM應用是一個簡單的身份管理應用,目標是為Flowable web應用提供單點登錄能力,并提供定義用戶、組與權限的能力。
所以要同時加入IDM和Modeler兩個包
<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了,啟動項目訪問地址:
http://localhost:9000/modeler
modeler登錄界面
modeler主頁面