if (context.getCurrentPath().getSequenceFlowsIds().contains(conn.getMetaData().get("UniqueId"))) {
// handle loops
if (context.isLoopLimitExceeded((String) conn.getMetaData().get("UniqueId"))) {
continue;
}
context.addExecutedNode((String) conn.getMetaData().get("UniqueId"));
triggerConnection(conn);
// reset clock to the value of this node
context.getClock().advanceTime((thisNodeCurrentTime - context.getClock().getCurrentTime()), TimeUnit.MILLISECONDS);
}
}