// save state if required
contextStateService.addContext(contextName, agentInstanceId, scheduleAndContext, contextStateServiceBinding);
// schedule callback, save for removal
ScheduleSlot scheduleSlot = createContextContext.getStatementContext().getScheduleBucket().allocateSlot();
EPStatementHandleCallback scheduleHandle = scheduleCallback(agentInstanceId, scheduleSlot, 0);
scheduleAndContext.setContextScheduleCallbackHandle(scheduleHandle, scheduleSlot);
// for all current statements, start an instance
for (ContextManagedStatementBase statement : statements.values()) {