How to use escalation boundary event attached on the boundary of a Sub Process of Camunda

时间:2016-03-10 16:24:31

标签: camunda

I have attached an intermediate escalation boundary event on the boundary of a Sub Process of Camunda. But it does not fire.

I know it is not firing because I have not triggered the event. My question is how to do that. I have gone through a lot of Camunda docs(docs on this is sparse) but was not able to find any details about firing escalation events. Neither I have found any example about the same.

I don't have much clue as to how I can do this. Any help would be highly appreciated.

1 个答案:

答案 0 :(得分:0)

在流程模型中为投掷升级事件建模。当流程引擎执行throw事件时,将触发相同级别的子流程上的捕获事件子流程或更高BPMN范围上的事件(边界事件或子流程)。 您无法通过代码从外部触发升级。

这里有很多例子和解释:https://docs.camunda.org/manual/7.4/reference/bpmn20/events/escalation-events/

示例图: enter image description here

当流程引擎到达Escalate事件时,它会为您抛出升级事件并在边界事件中捕获它。如果它没有到达事件,它将不会抛出它。