WorkflowConfig config = new WorkflowConfig("file", null);
WorkflowConfig config = new WorkflowConfig(null, "file", null);
  public void createWorkflow(String name)  {    WorkflowConfig config = new WorkflowConfig("file", null);    config.descriptor = DescriptorFactory.getFactory().createWorkflowDescriptor();    config.descriptor.setName(name);    ActionDescriptor initialAction = DescriptorFactory.getFactory().createActionDescriptor();    initialAction.setName(ResourceManager.getString("action.initial.start"));    config.descriptor.getInitialActions().add(initialAction);	  config.descriptor.getMetaAttributes().put("created", (new Date()).toString());    workflows.put(name, config);  }