// Now that the workflow node has been deregistered with the network
// group, update the reference counter of the workflow.
if ((workflow != null) && !isAdminNetworkGroup
&& !isInternalNetworkGroup && !isDefaultNetworkGroup)
{
WorkflowImpl workflowImpl = (WorkflowImpl) workflow;
workflowImpl.decrementReferenceCounter();
}
return workflow;
}