if (null != currentNode) {
loggingContext.put("node", currentNode.getNodename());
loggingContext.put("user", currentNode.extractUserName());
}
if (null != currentContext) {
StepContextId last = currentContext.get(currentContext.size() - 1).getFirst();
if (last.getStep() > -1) {
loggingContext.put("step", Integer.toString(last.getStep()));
}
loggingContext.put("stepctx", StateUtils.stepIdentifierToString(generateIdentifier(currentContext)));
}
return loggingContext;
} else {