Activiti6(1),Dubbo高频面试题+解析


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.导出画出的工作流

在这里插入图片描述

在这里插入图片描述

扩展


画流程图其实就是通过可视化工具,构造符合BPMN2.0规范的xml文档。

其中我们来看下常用的组件

  • 事件(开始事件、结束事件)

  • 任务(用户任务、定时任务)

  • 顺序流

  • 网关(排他网关、并行网关)

在这里插入图片描述

参考:

  • Activiti实战

  • Activiti权威指南

  • 疯狂工作流讲义

  • https://github.com/Activiti/activiti-examples

  • https://github.com/henryyan/kft-activiti-demo


自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。

深知大多数Java工程师,想要提升技能,往往是自己摸索成长或者是报班学习,但对于培训机构动则几千的学费,着实压力不小。自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!

因此收集整理了一份《2024年Java开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。
img
img
img
img
img
img

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,基本涵盖了95%以上Java开发知识点,真正体系化!

由于文件比较大,这里只是将部分目录大纲截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且后续会持续更新

如果你觉得这些内容对你有帮助,可以添加V获取:vip1024b (备注Java)
img

难道这样就够了吗?不,远远不够!

提前多熟悉阿里往年的面试题肯定是对面试有很大的帮助的,但是作为技术性职业,手里有实打实的技术才是你面对面试官最有用的利器,这是从内在散发出来的自信。

备战阿里时我花的最多的时间就是在学习技术上,占了我所有学习计划中的百分之70,这是一些我学习期间觉得还是很不错的一些学习笔记

我为什么要写这篇文章呢,其实我觉得学习是不能停下脚步的,在网络上和大家一起分享,一起讨论,不单单可以遇到更多一样的人,还可以扩大自己的眼界,学习到更多的技术,我还会在csdn、博客、掘金等网站上分享技术,这也是一种学习的方法。

今天就分享到这里了,谢谢大家的关注,以后会分享更多的干货给大家!

阿里一面就落马,恶补完这份“阿里面试宝典”后,上岸蚂蚁金服

阿里一面就落马,恶补完这份“阿里面试宝典”后,上岸蚂蚁金服

image.png

,这也是一种学习的方法。

今天就分享到这里了,谢谢大家的关注,以后会分享更多的干货给大家!

[外链图片转存中…(img-qbhLS2b3-1711728899554)]

[外链图片转存中…(img-Q7OIQoSO-1711728899555)]

[外链图片转存中…(img-Sft1mDub-1711728899555)]

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值