The ID of the root item of the system/workflows section
The following example retrieves the workflow root item, under which workflows are defined.
{{{
public Item GetWorkflowByName(string name) {
Item root = Sitecore.Context.ContentDatabase.Items[ItemIDs.WorkflowRoot];
if (root != null) {
return root.Children[name];
}
return null;
}
}}}
ItemIDs Class | Sitecore Namespace