// Create the worklfow for the base DN and register the workflow with
// the server.
WorkflowImpl workflowImpl = new WorkflowImpl(workflowID, baseDN,
rootWE.getWorkflowElementID(), (WorkflowElement) rootWE);
workflowImpl.register();
return workflowImpl;
}
/**