Error occurred in deployment step 'Activate Features': Unable to locate the workflow's association data.
解决方案:
1.在Visual studio solution explorer 中WorkFlow上右键->属性。.设置【Auto Associate】=false.重新部署项目,应该可以工作了. :) 在这种情况下,我们没有自动关联workflow的【history list】以及【task list】用户将手动指定这些关联。 2. 如果你仍让希望workflow自动做这些关联而不需要手动关联,你需要进行一下步骤:
- 在 Visual studio solution explorer, 在workflow上面右击,点击【Properties】在History List 点击按钮【...】.如下图:
- 在弹出窗口中指定 workflow的名字.如下图:
- On the Next screen, check the checkbox which says "Yes, associate this workflow with the following libraries and lists. if this step is ommitted, you must manually associate the workflow after it is created." The history list dropdown and task list dropdown will contain all the lists those are available for association. Keep the default ones or choose the one you wish to. Click on finish. :
- Now you will see the History List and Task list are associated with the workflow. :
- 现在重新部署您的项目,应该不会出现此问题了。
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步