从2010年到2013年迁移后提交工作流时出现System.Tuple 3错误 [英] Getting System.Tuple 3 error when Submitting the workflow after migration from 2010 to 2013

查看:40
本文介绍了从2010年到2013年迁移后提交工作流时出现System.Tuple 3错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从2010年到2013年迁移后提交工作流时出现System.Tuple 3错误。在SharePoint 2013环境中,我们使用的是2010工作流。这些工作流程是使用Visual Studio 2012开发的。我们已经正确安装了金块包dll


但是在启动工作流时会出现以下错误。


工作流因错误而终止:找不到方法:'System.Tuple`3< System。串,System.String,System.String> Business.Workflow.WorkflowHelper.SetAssignTo(Microsoft.SharePoint.SPWeb,Microsoft.SharePoint.SPGroup)'。


此解决方案在SharePoint 2010中正常运行,但在SharePoint 2013中不起作用,将调试放在setAssignedto方法上,但它没有在VS上命中。


经过分析,我们了解了js文件的问题,在浏览器中调试后我们收到错误消息xData.responseXML未定义且itemCount变量显示为未定义。我们使用的是jquery1.11.1.min.js文件。




请告诉我为什么xData.responseXML显示为未定义以及如何解决System.Tuple3错误的问题。


解决方案

您好,


请尝试创建一个使用SharePoint设计器检查其是否有效的工作流。


如果要使用SharePoint 2013工作流,请为SharePoint服务器安装和配置Workflow Manager。


https://docs.microsoft.com/ en-us / sharepoint / governance / install-and-configure-workflow-for-sharepoint-server


尝试使用Visual Studio创建新的SharePoint 2010工作流程SharePoint 2013以检查它是否有效。


关于js错误,请检查SPSe的版本服务库和jQuery库,尝试使用jquery.SPServices-2014.02.min.js。我建议您使用SharePoint 2013中的REST API代替SPService库来满足您的要求。


最好的问候,


Dennis


Getting System.Tuple 3 error when Submitting the workflow after migration from 2010 to 2013. In SharePoint 2013 environment we are using 2010 workflows. These workflows were developed by using Visual studio 2012. we have installed the nugget packages dll properly.

But when started the workflow getting the below error.

Workflow terminated with error: Method not found: 'System.Tuple`3<System.String,System.String,System.String> Business.Workflow.WorkflowHelper.SetAssignTo(Microsoft.SharePoint.SPWeb, Microsoft.SharePoint.SPGroup)'.

This solution is working properly in SharePoint 2010, but not working in SharePoint 2013, have put the debug on the setAssignedto method to but it's not hitting at VS.

As analyzed we understood the problem with the js file, After debug in the browser we got the error message xData.responseXML is undefined and itemCount variable is showing as undefined. We are using jquery1.11.1.min.js file.

please let me why the xData.responseXML is showing as undefined and how to resolve the issue of System.Tuple3 error.

解决方案

Hi,

Please try to create a workflow using SharePoint designer to check if it works.

If you want to use SharePoint 2013 workflow, please install and configure Workflow Manager for SharePoint server.

https://docs.microsoft.com/en-us/sharepoint/governance/install-and-configure-workflow-for-sharepoint-server

And try to create a new SharePoint 2010 workflow using Visual studio in SharePoint 2013 to check if it works.

About the js error, please check the version of SPService library and jQuery library, try to use jquery.SPServices-2014.02.min.js. I suggest you use REST API in SharePoint 2013 to instead of the SPService library to achieve your requirements.

Best Regards,

Dennis


这篇关于从2010年到2013年迁移后提交工作流时出现System.Tuple 3错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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