Flowable 流程引擎(二):Spring Boot 整合 Flowable Modeler

一、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主頁面
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容