Activiti6(1)

最后

分布式技术专题+面试解析+相关的手写和学习的笔记pdf

还有更多Java笔记分享如下:

image

本文已被CODING开源项目:【一线大厂Java面试题解析+核心总结学习笔记+最新讲解视频+实战项目源码】收录

需要这份系统化的资料的朋友,可以点击这里获取

一.画图工具选择


  • Activiti-App(官网推荐)

我是选的这个

  • Activiti Designer Eclipse插件(官网推荐)

我用idea,不选择这个

  • camunda-modeler

不推荐,变量属性不支持

  • Activiti BPMN visualizer(idea 插件)

直接在线安装,这个也不错哦

  • Flowable BPMN visualizer(idea 插件)

直接在线安装

二.Activiti-App下载启动


1.下载tomcat

本文用的是tomcat8

2.下载Activiti-App

官网地址

https://github.com/Activiti/Activiti/releases/download/activiti-6.0.0/activiti-6.0.0.zip

目录:activiti-6.0.0\activiti-6.0.0\wars\activiti-app.war

下载地址:链接: https://pan.baidu.com/s/1CHSttlkBT2CnnY1nFyQbSw 提取码: 2yba ,既然你下载到了,怎么也礼节性的感谢一下哈

3.tomcat放入war包并启动tomcat服务

注意tomcat路径不要有中文否则容易裂开。

4.访问网址:http://localhost:8080/activiti-app,进行登录

用户名:admin

密码:test

在这里插入图片描述

三.画一个工作流


1.选择Kickstart App进行流程构建

主界面的三个菜单主要承担以下功能:

  • Kickstart App:主要用于流程模型管理、表单管理及应用(App)管理,一个应用

可以包含多个流程模型,应用可发布给其他用户使用。

  • Task App:用于管理整个 activiti-app 的任务,在该功能里面也可以启动流程。

  • Idenity management:身份信息管理,可以管理用户、用户组等数据。

在这里插入图片描述

2.点击“Create Process”按钮,弹出新建流程模型界面

在这里插入图片描述

3.新建模型后,会进入流程模型设计界面,在流程设计界面中,只需要普通的鼠标拖拉操作,即可完成流程模型的定义,拖拖拽拽即可完成。

以请假流程为例:

#mermaid-svg-8d01JepHR7b9ZWun .label{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);fill:#333;color:#333}#mermaid-svg-8d01JepHR7b9ZWun .label text{fill:#333}#mermaid-svg-8d01JepHR7b9ZWun .node rect,#mermaid-svg-8d01JepHR7b9ZWun .node circle,#mermaid-svg-8d01JepHR7b9ZWun .node ellipse,#mermaid-svg-8d01JepHR7b9ZWun .node polygon,#mermaid-svg-8d01JepHR7b9ZWun .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-8d01JepHR7b9ZWun .node .label{text-align:center;fill:#333}#mermaid-svg-8d01JepHR7b9ZWun .node.clickable{cursor:pointer}#mermaid-svg-8d01JepHR7b9ZWun .arrowheadPath{fill:#333}#mermaid-svg-8d01JepHR7b9ZWun .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-8d01JepHR7b9ZWun .flowchart-link{stroke:#333;fill:none}#mermaid-svg-8d01JepHR7b9ZWun .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-8d01JepHR7b9ZWun .edgeLabel rect{opacity:0.9}#mermaid-svg-8d01JepHR7b9ZWun .edgeLabel span{color:#333}#mermaid-svg-8d01JepHR7b9ZWun .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-8d01JepHR7b9ZWun .cluster text{fill:#333}#mermaid-svg-8d01JepHR7b9ZWun div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-8d01JepHR7b9ZWun .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-8d01JepHR7b9ZWun text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-8d01JepHR7b9ZWun .actor-line{stroke:grey}#mermaid-svg-8d01JepHR7b9ZWun .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-8d01JepHR7b9ZWun .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-8d01JepHR7b9ZWun #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-8d01JepHR7b9ZWun .sequenceNumber{fill:#fff}#mermaid-svg-8d01JepHR7b9ZWun #sequencenumber{fill:#333}#mermaid-svg-8d01JepHR7b9ZWun #crosshead path{fill:#333;stroke:#333}#mermaid-svg-8d01JepHR7b9ZWun .messageText{fill:#333;stroke:#333}#mermaid-svg-8d01JepHR7b9ZWun .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-8d01JepHR7b9ZWun .labelText,#mermaid-svg-8d01JepHR7b9ZWun .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-8d01JepHR7b9ZWun .loopText,#mermaid-svg-8d01JepHR7b9ZWun .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-8d01JepHR7b9ZWun .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-8d01JepHR7b9ZWun .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-8d01JepHR7b9ZWun .noteText,#mermaid-svg-8d01JepHR7b9ZWun .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-8d01JepHR7b9ZWun .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-8d01JepHR7b9ZWun .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-8d01JepHR7b9ZWun .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-8d01JepHR7b9ZWun .mermaid-main-font{font-family:“trebuchet ms”, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-8d01JepHR7b9ZWun .section{stroke:none;opacity:0.2}#mermaid-svg-8d01JepHR7b9ZWun .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-8d01JepHR7b9ZWun .section2{fill:#fff400}#mermaid-svg-8d01JepHR7b9ZWun .section1,#mermaid-svg-8d01JepHR7b9ZWun .section3{fill:#fff;opacity:0.2}#mermaid-svg-8d01JepHR7b9ZWun .sectionTitle0{fill:#333}#mermaid-svg-8d01JepHR7b9ZWun .sectionTitle1{fill:#333}#mermaid-svg-8d01JepHR7b9ZWun .sectionTitle2{fill:#333}#mermaid-svg-8d01JepHR7b9ZWun .sectionTitle3{fill:#333}#mermaid-svg-8d01JepHR7b9ZWun .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-8d01JepHR7b9ZWun .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-8d01JepHR7b9ZWun .grid .tick text{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-8d01JepHR7b9ZWun .grid path{stroke-width:0}#mermaid-svg-8d01JepHR7b9ZWun .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-8d01JepHR7b9ZWun .task{stroke-width:2}#mermaid-svg-8d01JepHR7b9ZWun .taskText{text-anchor:middle;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-8d01JepHR7b9ZWun .taskText:not([font-size]){font-size:11px}#mermaid-svg-8d01JepHR7b9ZWun .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-8d01JepHR7b9ZWun .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-8d01JepHR7b9ZWun .task.clickable{cursor:pointer}#mermaid-svg-8d01JepHR7b9ZWun .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-8d01JepHR7b9ZWun .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-8d01JepHR7b9ZWun .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-8d01JepHR7b9ZWun .taskText0,#mermaid-svg-8d01JepHR7b9ZWun .taskText1,#mermaid-svg-8d01JepHR7b9ZWun .taskText2,#mermaid-svg-8d01JepHR7b9ZWun .taskText3{fill:#fff}#mermaid-svg-8d01JepHR7b9ZWun .task0,#mermaid-svg-8d01JepHR7b9ZWun .task1,#mermaid-svg-8d01JepHR7b9ZWun .task2,#mermaid-svg-8d01JepHR7b9ZWun .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-8d01JepHR7b9ZWun .taskTextOutside0,#mermaid-svg-8d01JepHR7b9ZWun .taskTextOutside2{fill:#000}#mermaid-svg-8d01JepHR7b9ZWun .taskTextOutside1,#mermaid-svg-8d01JepHR7b9ZWun .taskTextOutside3{fill:#000}#mermaid-svg-8d01JepHR7b9ZWun .active0,#mermaid-svg-8d01JepHR7b9ZWun .active1,#mermaid-svg-8d01JepHR7b9ZWun .active2,#mermaid-svg-8d01JepHR7b9ZWun .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-8d01JepHR7b9ZWun .activeText0,#mermaid-svg-8d01JepHR7b9ZWun .activeText1,#mermaid-svg-8d01JepHR7b9ZWun .activeText2,#mermaid-svg-8d01JepHR7b9ZWun .activeText3{fill:#000 !important}#mermaid-svg-8d01JepHR7b9ZWun .done0,#mermaid-svg-8d01JepHR7b9ZWun .done1,#mermaid-svg-8d01JepHR7b9ZWun .done2,#mermaid-svg-8d01JepHR7b9ZWun .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-8d01JepHR7b9ZWun .doneText0,#mermaid-svg-8d01JepHR7b9ZWun .doneText1,#mermaid-svg-8d01JepHR7b9ZWun .doneText2,#mermaid-svg-8d01JepHR7b9ZWun .doneText3{fill:#000 !important}#mermaid-svg-8d01JepHR7b9ZWun .crit0,#mermaid-svg-8d01JepHR7b9ZWun .crit1,#mermaid-svg-8d01JepHR7b9ZWun .crit2,#mermaid-svg-8d01JepHR7b9ZWun .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-8d01JepHR7b9ZWun .activeCrit0,#mermaid-svg-8d01JepHR7b9ZWun .activeCrit1,#mermaid-svg-8d01JepHR7b9ZWun .activeCrit2,#mermaid-svg-8d01JepHR7b9ZWun .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-8d01JepHR7b9ZWun .doneCrit0,#mermaid-svg-8d01JepHR7b9ZWun .doneCrit1,#mermaid-svg-8d01JepHR7b9ZWun .doneCrit2,#mermaid-svg-8d01JepHR7b9ZWun .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-8d01JepHR7b9ZWun .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-8d01JepHR7b9ZWun .milestoneText{font-style:italic}#mermaid-svg-8d01JepHR7b9ZWun .doneCritText0,#mermaid-svg-8d01JepHR7b9ZWun .doneCritText1,#mermaid-svg-8d01JepHR7b9ZWun .doneCritText2,#mermaid-svg-8d01JepHR7b9ZWun .doneCritText3{fill:#000 !important}#mermaid-svg-8d01JepHR7b9ZWun .activeCritText0,#mermaid-svg-8d01JepHR7b9ZWun .activeCritText1,#mermaid-svg-8d01JepHR7b9ZWun .activeCritText2,#mermaid-svg-8d01JepHR7b9ZWun .activeCritText3{fill:#000 !important}#mermaid-svg-8d01JepHR7b9ZWun .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-8d01JepHR7b9ZWun g.classGroup text{fill:#9370db;stroke:none;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);font-size:10px}#mermaid-svg-8d01JepHR7b9ZWun g.classGroup text .title{font-weight:bolder}#mermaid-svg-8d01JepHR7b9ZWun g.clickable{cursor:pointer}#mermaid-svg-8d01JepHR7b9ZWun g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-8d01JepHR7b9ZWun g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-8d01JepHR7b9ZWun .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-8d01JepHR7b9ZWun .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-8d01JepHR7b9ZWun .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-8d01JepHR7b9ZWun .dashed-line{stroke-dasharray:3}#mermaid-svg-8d01JepHR7b9ZWun #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-8d01JepHR7b9ZWun #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-8d01JepHR7b9ZWun #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-8d01JepHR7b9ZWun #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-8d01JepHR7b9ZWun #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-8d01JepHR7b9ZWun #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-8d01JepHR7b9ZWun #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-8d01JepHR7b9ZWun #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-8d01JepHR7b9ZWun .commit-id,#mermaid-svg-8d01JepHR7b9ZWun .commit-msg,#mermaid-svg-8d01JepHR7b9ZWun .branch-label{fill:lightgrey;color:lightgrey;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-8d01JepHR7b9ZWun .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-8d01JepHR7b9ZWun .slice{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-8d01JepHR7b9ZWun g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-8d01JepHR7b9ZWun g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-8d01JepHR7b9ZWun g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-8d01JepHR7b9ZWun g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-8d01JepHR7b9ZWun g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-8d01JepHR7b9ZWun g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-8d01JepHR7b9ZWun .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-8d01JepHR7b9ZWun .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-8d01JepHR7b9ZWun .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-8d01JepHR7b9ZWun .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-8d01JepHR7b9ZWun .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-8d01JepHR7b9ZWun .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-8d01JepHR7b9ZWun .edgeLabel text{fill:#333}#mermaid-svg-8d01JepHR7b9ZWun .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-8d01JepHR7b9ZWun .node circle.state-start{fill:black;stroke:black}#mermaid-svg-8d01JepHR7b9ZWun .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-8d01JepHR7b9ZWun #statediagram-barbEnd{fill:#9370db}#mermaid-svg-8d01JepHR7b9ZWun .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-8d01JepHR7b9ZWun .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-8d01JepHR7b9ZWun .statediagram-state .divider{stroke:#9370db}#mermaid-svg-8d01JepHR7b9ZWun .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-8d01JepHR7b9ZWun .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-8d01JepHR7b9ZWun .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-8d01JepHR7b9ZWun .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-8d01JepHR7b9ZWun .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-8d01JepHR7b9ZWun .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-8d01JepHR7b9ZWun .note-edge{stroke-dasharray:5}#mermaid-svg-8d01JepHR7b9ZWun .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{–mermaid-font-family: ‘“trebuchet ms”, verdana, arial’;–mermaid-font-family: “Comic Sans MS”, “Comic Sans”, cursive}#mermaid-svg-8d01JepHR7b9ZWun .error-icon{fill:#522}#mermaid-svg-8d01JepHR7b9ZWun .error-text{fill:#522;stroke:#522}#mermaid-svg-8d01JepHR7b9ZWun .edge-thickness-normal{stroke-width:2px}#mermaid-svg-8d01JepHR7b9ZWun .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-8d01JepHR7b9ZWun .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-8d01JepHR7b9ZWun .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-8d01JepHR7b9ZWun .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-8d01JepHR7b9ZWun .marker{fill:#333}#mermaid-svg-8d01JepHR7b9ZWun .marker.cross{stroke:#333} :root { --mermaid-font-family: “trebuchet ms”, verdana, arial;} #mermaid-svg-8d01JepHR7b9ZWun { color: rgba(0, 0, 0, 0.75); font: ; }

开始

发起请假

经理审批

人事归档

注意每个节点的 分配人填写情况

  • 发起请假 submitter

  • 经理审核 leader

  • 人事归档 hr

在这里插入图片描述

4.导出画出的工作流

在这里插入图片描述

在这里插入图片描述

扩展

面试结束复盘查漏补缺

每次面试都是检验自己知识与技术实力的一次机会,面试结束后建议大家及时总结复盘,查漏补缺,然后有针对性地进行学习,既能提高下一场面试的成功概率,还能增加自己的技术知识栈储备,可谓是一举两得。

以下最新总结的阿里P6资深Java必考题范围和答案,包含最全MySQL、Redis、Java并发编程等等面试题和答案,用于参考~

重要的事说三遍,关注+关注+关注!

历经30天,说说我的支付宝4面+美团4面+拼多多四面,侥幸全获Offer

image.png

更多笔记分享

历经30天,说说我的支付宝4面+美团4面+拼多多四面,侥幸全获Offer

本文已被CODING开源项目:【一线大厂Java面试题解析+核心总结学习笔记+最新讲解视频+实战项目源码】收录

需要这份系统化的资料的朋友,可以点击这里获取

]

更多笔记分享

[外链图片转存中…(img-kEt3yGAJ-1715805044575)]

本文已被CODING开源项目:【一线大厂Java面试题解析+核心总结学习笔记+最新讲解视频+实战项目源码】收录

需要这份系统化的资料的朋友,可以点击这里获取

  • 22
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值