无法修改标准批准工作流程 [英] Unable to modify standard Approvals workflow
问题描述
或者说,无法可靠地修改标准.在SharePoint 2013中自定义批准工作流.我具有Content Manager和Creator的权限,IT可能不会授予我任何其他权限.我的努力是 第一个在企业内部建立的工作流程,所以我是自学成才的,没有专家要问.
Or rather, unable to reliably modify the standard. Customizing an approvals workflow in SharePoint 2013. I have Content Manager and Creator permissions, and IT will probably not grant me any other permissions. My efforts are the first workflows established within the enterprise, so I am self-taught and have no expert to ask.
方案:我使用复制和修改来创建可重用的自定义批准工作流.我进行更改(请参阅下面的方案),转到我的库,从修订后的可重用工作流程创建工作流程,放入文件,在大多数情况下,它会失败 与启动失败(重试)".在所有情况下,我都将工作流程配置为从新项目开始.
Scenario: I use Copy and Modify to create a reusable custom Approvals workflow. I make changes (see scenarios below), go to my library, create a workflow from the revised reusable workflow, drop in a file, and in most cases it fails with "Failed on Start (retrying)". In all cases, I have configured the workflow to start on new item.
尝试新操作时,我结束工作流程,删除工作流程,并从我的图书馆中删除目标文件.然后,我从可重复使用的工作流程中创建一个新的工作流程,然后重试.上周,我没有遇到任何麻烦.
When I try something new, I end the workflow, remove the workflow, and delete the target files from my library. I then create a new workflow from the reusable workflow and try again. Last week, I wasn't having any of this trouble.
尝试了这些顺序:
- 直接从标准创建工作流程-始终有效.
- 从标准创建可重用并发布.从可重用创建工作流-通常可以正常工作.
- 从标准中创建可重用并发布.重新发布而不进行更改-通常可以正常工作.
- 创建可重复使用的标准版本并进行发布. 进行较小的更改(添加日志记录或电子邮件操作)-通常会失败.
- 从现有的可重用工作流程中创建新的可重用工作流程-总是会失败.
- 从以前工作的可重用工作流程中创建工作流程-通常会失败.
- 许多其他尝试,这些序列都有变化. 几十个.
观察:
一旦开始失败,就只能从标准版本重新启动.我注意到系统重新同步后,它又开始工作.即使这样,它在注视着失败之后,仍然继续失败.我已经尝试了很多次,并且有很多变化. 我尝试了一个新的库文件夹,以及约20个修订和重试的组合.重新打开SharePoint和SharePoint Designer并没有帮助.重新启动Windows或关闭/打开电源都没有.也不更改结束wf/remove的顺序wf/remove 文件.
Once it starts to fail, only restarting from the standard works. I noticed that after system resynched, it started working again. Even then, after it stared failing, it continued to fail. I have tried many times with many variations. I tried a new library folder, and about 20 combinations of revisions and retries. Re-opening SharePoint and SharePoint Designer didn't help. Neither did restaring Windows or power down/up. Nor did changing the order of end wf/remove wf/remove file.
不用说,这让我发疯.此外,除日志语句外,没有调试工具.我直觉有一些系统设置,权限或底层文件/列表问题.
Needless to say, this is making me nuts. Add on that, aside from log statements, there are no debugging tools. I have a hunch that there's some system setup, permissions or underlying file/list issue.
推荐答案
您好,Dale-您能提供您的信息吗?工作流程,以便我们来看一下?
Hi Dale- can you provide your workflow so we can look at it?
几乎没有什么要检查的:请确保您没有使用系统帐户来创建或运行您的工作流程.不要将您的工作流复制/粘贴到新的工作流中.确保工作流对它涉及的所有内容(包括任何查询)都具有权限.查看日志以查看 会产生什么错误.在此处提供它们.
Few things to check: make sure you aren't using system account to create or run your workflow. Don't copy/paste your workflow into a new one. Make sure the workflow has permissions to everything it touches, including any queries. Check the logs to see what errors are created. Provide them here.
这篇关于无法修改标准批准工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!