activiti细节

1,加载流程定义文件

@Deployment(resources={"chapter5/testSimpleMail.bpmn20.xml"})

2.Timer Start Event

不用手动去触发流程,会根据时间定时器来自动触发流程。

when a new version of a process with a start timer event is deployed, the job corresponding with the previous timer will be removed. The reasoning is that normally it is not wanted to keep automatically starting new process instances of this old version of the process.

当新的流程部署时,先前的job会被删掉。原因是担心会用老的流程定义来启动新的流程实例。

3.Timer Boundary Event

cancelActivity属性:true:当timer触发时,当前的activity被中断;false:不会被中断,继续执行下一步

当执行循环定时器时,虽然cancelActivity=true,但是该acitivity还是会持续生成

转载于:https://my.oschina.net/u/865921/blog/124025

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值