@Override
public void internalTrigger(NodeInstance from, String type) {
SimulationContext context = SimulationContext.getContext();
ActivitySimulator simulator = context.getRegistry().getSimulator(getNode());
SimulationEvent event = simulator.simulate(this, context);
context.getRepository().storeEvent(event);
// process event definitions if any
Map<String, String> throwEvents = context.getCurrentPath().getThrowEvents();