Error compilation with demo

wdf := TWorkflowDefinition.Create(nil);

[dcc64 Error] UDefinicionWorkFlowDocs.pas(138): E2251 Ambiguous overloaded call to 'Create'
  wsClasses.pas(1): Related method: constructor TWorkflowDefinition.Create(TCollection);
  wsClasses.pas(1): Related method: constructor TWorkflowDefinition.Create(TCustomWorkflowStudio);

thks!



i change by this

wdf:=WorkflowStudio.WorkflowManager.CreateWorkflowDefinitionList.Add;

thks!!