将 SharePoint Designer 工作流程从一个文档库移动到另一个文档库
我为“测试”文档库构建了一个共享点工作流程。我现在想将此工作流程移至“prod”文档库。我成功地将共享点设计器中的工作流程从一个文档库复制到下一个文档库。但是,当我打开向导并尝试更改文档库时,工作流程是为我无法创建的,因为带有此选项的下拉框被禁用。
有谁知道我怎样才能做到这一点?
I built a sharepoint workflow for a "test" document library. I would now like to move this workflow to a "prod" document library. I copied the workflow in sharepoint designer from one document library to the next successfully. However when I bring up the wizard and try to change the document library the workflow was made for I am unable because the drop down box with this option is disabled.
Does anyone know how I can accomplish this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在 SharePoint Designer 中建立关联后,更改它的唯一方法是通过工作流的 .xoml.wfconfig.xml 文件。
查找:
现在您可以执行两件事:
1) 完全在 XML 中编辑关联。
或者
2) 删除 XML 中的关联,然后打开向导。它应该让您选择一个新列表。 如果您执行此操作,请不要离开向导的第一页。只需选择列表并单击“完成”(即:保存并退出)。如果您更改向导中的页面,所有字段引用都将变得无效。保存并退出后,重新进入向导即可使用向导的全部功能。
Once an association has been made in SharePoint Designer, the only way to change it is through the workflow's .xoml.wfconfig.xml file.
Find:
Now you can do two things:
1) Edit the association completely within the XML.
or
2) Remove the association within the XML and then open the wizard. It should let you select a new list. DO NOT leave the first page of the wizard if you do this though. Just select the list and hit Finish (i.e.: save and exit). If you change pages in the wizard all of your field references will become invalid. After you save and exit, feel free to use the full functionality of the wizard upon re-entering the wizard.
您是否仔细检查了新文档库的权限以确保您拥有足够的权限?
Have you double checked the permissions on the new Document Library to ensure you have sufficient privledges?
还有一点需要注意的是,一旦恢复,请检查工作流程的每一步,因为对变量或字段的引用可能已被 GUID 替换。
例如,如果有一个向用户发送电子邮件的步骤,则它可能已被 GUID 替换。您只需重新分配用户即可。
One more point to note is that, once restored, review every step of the workflow as references to variables or fields may have been replaced by GUID.
For example, if there was a step to send email to a user, it may have been replaced by a GUID. You just need to re-assign the user.