Creating and editing an workflow definition

in section 7.5 of the manual online WDF: TWorkflowDefinition.Create = (nil) not complia with the following message from Delphi: [DCC Error] Unit4.pas (38): E2251 Ambiguous overloaded call to 'Create'
   wsClasses.pas (88): Related method: constructor TWorkflowDefinition.Create (TCollection);
   wsClasses.pas (89): Related method: constructor TWorkflowDefinition.Create (TCustomWorkflowStudio);

how to solve?

thank you

You shouldn't pass nil the constructor. It will not work anyway. You must always pass a TCustomWorkflowStudio object as a parameter.