logger.debug("Putting flow execution '" + flowExecution + "' into repository");
}
FlowExecutionKey key = flowExecution.getKey();
Conversation conversation = getConversation(key);
FlowExecutionSnapshotGroup snapshotGroup = getSnapshotGroup(conversation);
FlowExecutionSnapshot snapshot = snapshot(flowExecution);
if (logger.isDebugEnabled()) {
logger.debug("Adding new snapshot to group with id " + getSnapshotId(key));
}
snapshotGroup.addSnapshot(getSnapshotId(key), snapshot);
putConversationScope(flowExecution, conversation);