Quantcast
Channel: Workflow Manager 1.0 forum
Viewing all articles
Browse latest Browse all 897

Workflow interop stops working for large lists

$
0
0

Hi,

I noticed a strange behavior with a SP 2013 workflow that calls a 2010 workflow. I have this in an on-premise 2013.

First some context, I have created a test library with 55 documentsets, numbered from 01 to 55. In each of these document sets I copied 100 documents, from 100.txt to 199.txt with only one line there. I created two workflows, a 2013 workflow that does call the 2010 workflow. The 2010 workflow writes a "Hello world" to the log history of the workflow. I created the content in sequence, so first the document sets from 01 to 55 and then copying the same documents in each of the document sets, first in document set 01, then 02, up to the end for document set 55

When I start the 2013 workflow for

(1) document 100.txt in document set 01, everything works fine

(2) document 100.txt in document set 55, my 2013 workflow gets suspended with a "Bad request". I have the following error messages from the ULS logs:

Exception occured in scope Microsoft.SharePoint.WorkflowServices.WorkflowInteropService.EnableEvents. Exception=System.ArgumentException: item   

 at Microsoft.SharePoint.WorkflowServices.FabricInteropProvider.DefinitionsForItem(SPWeb web, Guid listId, Guid itemGuid)   

 at Microsoft.SharePoint.WorkflowServices.FabricInteropProvider.<>c__DisplayClass1.<EnableEvents>b__0()   

 at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()   

 at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)   

 at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)   

 at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)   

 at Microsoft.SharePoint.WorkflowServices.WorkflowInteropServiceServerStub.InvokeMethod(Object target, String methodName, ClientValueCollection xmlargs, ProxyContext proxyContext, Boolean& isVoid)   

 at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, ClientValueCollection args, ProxyContext proxyContext, Boolean& isVoid)

Original error: System.ArgumentException: item   

 at Microsoft.SharePoint.WorkflowServices.FabricInteropProvider.DefinitionsForItem(SPWeb web, Guid listId, Guid itemGuid)   

 at Microsoft.SharePoint.WorkflowServices.FabricInteropProvider.<>c__DisplayClass1.<EnableEvents>b__0()   

 at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()   

 at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)   

 at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)   

 at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)   

 at Microsoft.SharePoint.WorkflowServices.WorkflowInteropServiceServerStub.InvokeMethod(Object target, String methodName, ClientValueCollection xmlargs, ProxyContext proxyContext, Boolean& isVoid)   

 at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, ClientValueCollection args, ProxyContext proxyContext, Boolean& isVoid)

This setup is to simulate the problem I have for migratinga 4000 item document library with some 2000 document sets and 3000 documents that I need to move to the right document set. I do this using a 2013 workflow that calls 2010 support workflows, for example to move the file.

Any ideas on how to solve this ?

I tested the same setup on Office 365 and I do not have the error ;-(

Best regards,

Marc Nemegeer


Viewing all articles
Browse latest Browse all 897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>