I set up a workflow in dev and export it to a single recipe. And I copy and past the "Workflows" section to a setup recipe then select this recipe when install a new Orchard website.
But the installation could not completed by blow error:
[SQL: select workflowde0_.Id as Id209_, workflowde0_.Enabled as Enabled209_, workflowde0_.Name as Name209_ from Orchard_Workflows_WorkflowDefinitionRecord workflowde0_ where workflowde0_.Name=@p0] ---> System.Data.SqlServerCe.SqlCeException: The specified table does not exist. [ Orchard_Workflows_WorkflowDefinitionRecord ]
I know I can import the exported recipe after the installation completed using Import/Export module. But I want to set up the inital data in the installation stage as set up the Roles info which success from setup recipe
Thanks
EDIT From discussions in the comments we worked out it was that workflow imports need to be placed after the migrations section.
ORIGINAL It sounds like you haven't enabled the workflow module. You can add Orchard.Workflows to the comma separated list of features to enable in your set up recipe.