TFlowNode flowNodeJaxb, TEventDefinition eventDefinitionJaxb) {
EventDefinition eventDefinition = new TerminateEventDefinition(
IdService.getUniqueProcessId(clientId, processJaxb),
IdService.getUniqueFlowNodeId(clientId, processJaxb, subProcessesJaxb, flowNodeJaxb),
new ActorReferenceService().getActorReference(
IdService.getUniqueFlowNodeId(clientId, processJaxb, subProcessesJaxb,
flowNodeJaxb)),
getOtherActorReferences(clientId, processJaxb, subProcessesJaxb, flowNodeJaxb)
);