activiti細節

1,加載流程定義文件 this

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

2.Timer Start Event orm

不用手動去觸發流程,會根據時間定時器來自動觸發流程。
xml

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.
ci

當新的流程部署時,先前的job會被刪掉。緣由是擔憂會用老的流程定義來啓動新的流程實例。 rem

3.Timer Boundary Event

cancelActivity屬性:true:當timer觸發時,當前的activity被中斷;false:不會被中斷,繼續執行下一步 部署

當執行循環定時器時,雖然cancelActivity=true,可是該acitivity仍是會持續生成 it

相關文章
相關標籤/搜索