activiti

最近整合spring boot + mybatis 3.1.1 +activity 5.12

时光总嘲笑我的痴心妄想 提交于 2020-01-06 15:27:26
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 兼容老项目的痛谁懂,唯有亲身整合过的人才懂了。 拿到老项目代码,发现项目用的activity 是5.12 版本,赶紧找一上网上的资源对于这么早期的activity 版本的资料,一查,发现,喔阖, 结合5.22版本做理解吧,自己吃自己了。 一、首先重构项目基于maven 管理,包怎么导进来啊,啊啊? activity 5.12 的版本没有整合到maven,那么意味着,我们需要自己搭建一个maven 私服 把老项目的jar包发布到私服自己下载下来 1)windows 采用nexus 搭建maven 私服 版本 nexus-2.14.5-02-bundle.zip 不要问我为什么用这么老的,翻不了墙,下不到新了,在网上找到网盘的资源下载的,有条件的自己下载最新的玩,需要这个的加,可以私信找我要, 解压出来,有两个文件夹nexus-2.14.5-02,sonatype-work,找到E:\nexus-2.14.5-02-bundle\nexus-2.14.5-02\bin\jsw\windows-x86-64, 以管理员的方式运行console-nexus.bat, 启动完成后,在浏览器打开 http://localhost:8081/nexus/#welcome ,在E:\nexus-2.14.5-02-bundle

Custom permission to custom portlet on specific user in liferay

笑着哭i 提交于 2020-01-06 02:50:13
问题 How can i define custom permisssion to custom portlet for specific user in liferay I used enviroment liferay 6.1.2 ga3 with jboss In my custom portlet deploy/undeploy button but how can i give specific permission to that only admin person can access that function any other can not use that check this link http://i.imgur.com/Qwfbg2H.png Can you please elaborate. I also check this link for reference and in jsp page for rendering all the datagrid data render through jeasyui and rest API Removing

Activiti集成Modeler(使用Jfinal)(不用SpringMvc,不用Spring)

放肆的年华 提交于 2019-12-27 19:03:21
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 整合好的代码在这里 https://gitee.com/glorylion/JFinalOA Modeler是在线流程编辑器 Diagram Viewer是流程跟踪的插件 最近学习使用Activiti. 网上的还有咖啡兔子的基本都是基于Spring的方法. 网上搜了很多,找了很多之后最后整合进项目当中,发现并没有想象中的复杂. 我们使用的项目是整合了Jfinal 的框架,之前介绍过不使用Spring的方法集成Activiti. 在此基础上本文介绍,不使用Spring MVC的方法集成Modeler和Diagram Viewer 首先明确以下信息一步一步来. 1.Modeler高度依赖于Spring MVC. 2.Modeler的所有Controler都是使用SpringMVC做的映射关系,只需要将此处,全部改为Jfinal的Controller即可 3.Modeler所有的JS请求路径全部为Spring MVC的方式请求的,需要全部改为Jfinal的方式 4.Modeler使用了很多Jar包,需要一点点排错. 1.拷贝前台代码 下图所示为Activiti官网下载的activiti-5.19 里面为activiti需要的jar包explorer的war包 war下有activiti-explorer

SpringMVC项目集成Activiti Modeler(Activiti5.20版本)

拟墨画扇 提交于 2019-12-27 18:45:17
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> Activiti版本是5.20,Modeler模块跟5.16.4之前变化很大,相关的API已经大变样。 假设已经有SpringMVC的项目,只需要把以下文件复制到自己的项目中,包名可以改,但是在自动搜索类的时候请指定包路径。 配置文件如下: <bean id="objectMapper" class="com.fasterxml.jackson.databind.ObjectMapper" /> <context:component-scan base-package="edu.xxx.web.rest" use-default-filters="false"> <context:include-filter type="annotation" expression="org.springframework.stereotype.Controller"/> </context:component-scan> Modeler相关的Rest入口 以上三个文件,我放到项目中的: edu.xxx.web.rest 这个位置。 Modeler相关的页面文件 app-cfg.js文件也需要修改下,指定contextRoot为 /项目/service 以上截图中使用到的Activiti源码项目中的文件,可以到这里下载:

Get the latest running process instance in Activiti

此生再无相见时 提交于 2019-12-25 16:55:07
问题 Is it possible to get the latest running process in Activiti with createProcessInstanceQuery ? runtimeService.createProcessInstanceQuery().processDefinitionKey('myKey').active().singleResult().getProcessInstanceId() I want to get the process instance ID of that definition but only the latest running process. Thank you 回答1: To get a specific running process instance ID , you can use the HistoryService with : for example to get the last started process instance with specific definition key:

How to add a header to all the user task forms in an Activiti workflow?

﹥>﹥吖頭↗ 提交于 2019-12-25 05:25:47
问题 I'm working with Activiti workflows in Alfresco Share and I need to add a header common to all the user task forms in a workflow. This header would be a set of read-only properties (fields) displaying context workflow information at the top of all the user task forms in the workflow. For example, in client management workflows, the header may show the client name and surnames, the client file code, etc., displaying each value in a read-only text box or label. Is there a simple way to add a

is there any nice way to step back in an activiti workflow task?

假如想象 提交于 2019-12-24 13:21:05
问题 I am using activiti bpm engine to control my workflow. Is it posible to step back if I made mistake in chioce? if no, what should be done? Must I complete the workflow and start a new one? 回答1: There is no such thing as 'going back' in workflow, it's well against.. the flow ;) If you wan't to give user the possibility to 'step back' you can model additional flows again to the same task which has been just completed. 来源: https://stackoverflow.com/questions/16193831/is-there-any-nice-way-to

Activiti workflow: setting value of an aspect from StartTask

Deadly 提交于 2019-12-23 16:45:55
问题 I need to set a value from a text field on my start form and then pull this information on several other tasks. To do this, I'm using an aspect and trying to send the data up to the execution variable, and then pull it down. The problem is that I cannot send the value from the start form to the execution variable. As it is now, Share will just say that the workflow cannot be started. I am using Alfresco 4.2.f Community edition. The start event is defined in the BPMN as follows: <startEvent id

Activiti简介

天涯浪子 提交于 2019-12-23 02:33:54
介绍 Activiti5是由Alfresco软件在2010年5月17日发布的业务流程管理(BPM)框架,它是覆盖了业务流程管理、工作流、服务协作等领域的一个开源的、灵活的、易扩展的可执行流程语言框架。从基础开始构建,旨在提供支持新的BPMN 2.0标准,包括支持对象管理组(OMG),可以定义流程、执行流程并以不同方式对其实现运行。 Activiti基于Apache许可的开源BPM平台,创始人Tom Baeyens是JBoss jBPM的项目架构师,他特色是提供了eclipse插,开发人员可以通过插件直接绘画业务流程图。 官网: http://www.activiti.org/ 下载: http://www.activiti.org/download.html 工作流引擎 ProcessEngine 对象,是Activiti工作的 核心 。负责生成流程运行时的各种实例及数据、监控和管理流程的运行。 通俗的讲,就是一辆汽车的发动机。一辆汽车,外表做的再漂亮,如果发动机有问题就只是一个摆设。应用系统的弹性就好比引擎转速方面的性能,加速到100公里需要1小时(业务流程发生变动需要进行半年的修改)还叫好车吗?引擎动不动就熄火(程序因为逻辑问题陷入死循环)的车还敢开吗? BPMN 在Activiti工作流中用到了一个BPMN的文件,主要是用来描述业务流程的基本的符号

How to specify which start event should be called from a BPMN callActivity

我的未来我决定 提交于 2019-12-22 08:08:38
问题 From http://www.omg.org/spec/BPMN/2.0.2/PDF on page 238: If the Process is used as a global Process (a callable Process that can be invoked from Call Activities of other Processes) and there are multiple None Start Events, then when flow is transferred from the parent Process to the global Process, only one of the global Process’s Start Events will be triggered. The targetRef attribute of a Sequence Flow incoming to the Call Activity object can be extended to identify the appropriate Start