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
答案 0 :(得分:1)
EDIT 根据我们制定的评论中的讨论,需要在迁移部分之后放置工作流导入。
ORIGINAL 听起来您没有启用工作流程模块。您可以将Orchard.Workflow添加到以逗号分隔的要素列表中,以便在设置配方中启用。