Git Product home page Git Product logo

flowable-boot's Introduction

Flowable Spring Boot Demo Project

Project Structure

├───src
│   ├───main
│   │   ├───java
│   │   │   └───com
│   │   │       └───epam
│   │   │           └───demo
│   │   │               ├───config
│   │   │               ├───controller
│   │   │               ├───handler
│   │   │               └───service
│   │   └───resources
│   │       └───processes
│   └───test
│       └───java
│           └───com
│               └───epam
│                   └───demo

Version

  • SpringBoot 2.6.6
  • Flowable 6.7.2

Features

  1. Build an expense process by Flowable
    1. The process file is in src/main/resources/processes
    2. You can generate BPM XML by downloading the Flowable Applications
    3. How to design a BPM by Flowable Applications: BPMN User Guide
  2. Download the BPM XML file and copy it into src/main/resources/processes folder.
  3. Flowable is using the Liquibase to generate required table.
    1. You need config your mysql in application.yml file
    spring:
     datasource:
         driverClassName: com.mysql.cj.jdbc.Driver
         password: hewanyu1114
         url: jdbc:mysql://127.0.0.1:3306/flowable?characterEncoding=UTF-8&serverTimezone=UTC
         username: root
     flowable:
     # Close flowable async job
     async-executor-activate: false
    
  4. Add proxy assignee role
    BossTaskHandler
    ManagerTaskHandler
    
  5. Add major handler service
ExpenseService
  1. Add rest api for each link of BPM process
ExpenseController
  1. You can request the rest api to start,approved,rejected and stop the process.

How to config Followable Applications.

  1. Install JDK8.x or later.
  2. Downloading Flowable6.7.2 Flowable Applications
    1. Get in the flowable6.7.2 folder and find the 'wars' folder.
    2. Copy the 'flowable-ui.war' to 'Tomcat 10.0/webapps'
  3. Start 'flowable-ui.war'
java -jar flowable-ui.war
  1. Open the URL: http://localhost:8080/flowable-ui/
  2. The default username and password is "admin:test"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.