编译工作流时发现SharePoint Designer 2013错误.工作流程文件已保存,但无法运行.关联工作流的服务器上发生意外错误. [英] SharePoint Designer 2013 Errors were found when compiling the workflow. The workflow files were saved but cannot be run. Unexpected error on server associating the workflow.

查看:59
本文介绍了编译工作流时发现SharePoint Designer 2013错误.工作流程文件已保存,但无法运行.关联工作流的服务器上发生意外错误.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

Hello

我正在创建具有多个批准步骤的多步骤工作流程.当我进入步骤7或第七批准步骤并尝试发布它时,它指出"在编译工作流程时发现了错误.工作流程 文件已保存,但无法运行. 使用"关联工作流的服务器上的意外错误"在高级部分中.在批准的其他阶段也会发生相同的错误.  

I am creating a multi step workflow with multiple Approval steps.  When I get to step 7 or the 7th Approval step and try to publish it, it states that "Errors were found when compiling the workflow.  The workflow files were saved but cannot be run."  With "Unexpected error on server associating the workflow" in the advanced section.  This same error occurs at other stages of the approvals as well.  

我也尝试过这种解决方法 

also i tried this workaround 

1.< span style ="font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif; line-height:20.162px; background-color:#d0d0d0">< httpRuntime maxRequestLength ="51200" =" 5 />

1. <httpRuntime maxRequestLength="51200" executionTimeout="500" />

2.  $ app = get-spwebapplication"http://WEBAPP-URL"

$ app.UserDefinedWorkflowMaximumComplexity = 50000
$ app.Update()

$app.UserDefinedWorkflowMaximumComplexity = 50000
$app.Update()


感谢您的帮助!

推荐答案

我假设它的SharePoint 2013工作流是否存在,您是否已在网站集中注册了工作流服务?如果没有,请使用下面的PS命令.

I assume, its SharePoint 2013 workflow if yes , Have you register your workflow service in your site collection ? If not use the below PS command.


这篇关于编译工作流时发现SharePoint Designer 2013错误.工作流程文件已保存,但无法运行.关联工作流的服务器上发生意外错误.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆