@Test public void testErrorDefinitionForBoundaryEventWithoutEventDefinitionId() { modelInstance = Bpmn.createProcess() .startEvent() .userTask("task") .endEvent() .moveToActivity("task") .boundaryEvent("boundary") .errorEventDefinition() .errorCodeVariable("errorCodeVariable") .errorMessageVariable("errorMessageVariable") .error("errorCode", "errorMessage") .errorEventDefinitionDone() .endEvent("boundaryEnd") .done(); Bpmn.writeModelToStream(System.out, modelInstance); assertErrorEventDefinition("boundary", "errorCode", "errorMessage"); assertErrorEventDefinitionForErrorVariables("boundary", "errorCodeVariable", "errorMessageVariable"); }
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);  }