camunda工作流

001.camunda入门(springboot集成篇)

2020-10-06  本文已影响0人  我很胖吗

目标

camunda框架与springboot的集成

介绍

Camunda是基于Java语言,支持BPMN标准的工作流和流程自动化框架,并且还支持CMMN规范,DMN规范。具体组件如下图(引用官方图):

主要组件
需要了解更多的细节请移步官网:官方文档 GitHub

本文重点(入门camunda与springboot集成)

  1. 首先新建一个springboot工程
  1. 用idea打开下载好的项目, 在pom文件导入camunda的依赖
<dependency>
  <groupId>org.camunda.bpm.springboot</groupId>
  <artifactId>camunda-bpm-spring-boot-starter</artifactId>
  <version>7.13.0</version>
</dependency>
  1. 配置数据源, 后直接运行项目就集成成功啦!会自动创建工作流的表
spring:
  datasource:
    url: jdbc:mysql://localhost:3306/camunda?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
    username: root
    password: root
1.png

下一篇将跑起一个流程

上一篇 下一篇

猜你喜欢

热点阅读