// if we do not have the node then we need to add it to the workspace
if (workspaceNode == null)
{
NodeSPI node = dataContainer.peek(fqn, true, includeInvalidNodes);
if (node == null) return null;
GlobalTransaction gtx = ctx.getGlobalTransaction();
workspaceNode = lockAndCreateWorkspaceNode(nodeFactory, node, workspace, gtx, lockAcquisitionTimeout);
// and add the node to the workspace.
workspace.addNode(workspaceNode);
}