@Test public void testEscalationEndEventWithExistingEscalation() { modelInstance = Bpmn.createProcess() .startEvent() .userTask("task") .endEvent("end").escalation("myEscalationCode") .moveToActivity("task") .boundaryEvent("boundary").escalation("myEscalationCode") .endEvent("boundaryEnd") .done(); Escalation boundaryEscalation = assertEscalationEventDefinition("boundary", "myEscalationCode"); Escalation endEscalation = assertEscalationEventDefinition("end", "myEscalationCode"); assertThat(boundaryEscalation).isEqualTo(endEscalation); assertOnlyOneEscalationExists("myEscalationCode"); }
public StartEventBuilder startEvent() { return startEvent(null); }
ProcessBuilder extends AbstractProcessBuilder<ProcessBuilder> { public StartEventBuilder startEvent() { return startEvent(null); } }
ProcessBuilder extends AbstractProcessBuilder<ProcessBuilder> { public StartEventBuilder startEvent() { return startEvent(null); } ProcessBuilder(BpmnModelInstance modelInstance, Process process); }
ProcessBuilder extends AbstractProcessBuilder<ProcessBuilder> { public StartEventBuilder startEvent() { return startEvent(null); } ProcessBuilder(BpmnModelInstance modelInstance, Process process); StartEventBuilder startEvent(); StartEventBuilder startEvent(String id); EventSubProcessBuilder eventSubProcess(); EventSubProcessBuilder eventSubProcess(String id); }
ProcessBuilder extends AbstractProcessBuilder<ProcessBuilder> { public StartEventBuilder startEvent() { return startEvent(null); } ProcessBuilder(BpmnModelInstance modelInstance, Process process); StartEventBuilder startEvent(); StartEventBuilder startEvent(String id); EventSubProcessBuilder eventSubProcess(); EventSubProcessBuilder eventSubProcess(String id);  }