Workflow that loops through list stops before end


Badge +1

Hi Nintex

I have to list

List A: Contains 2600 elements (has a workflow (A) that sets a new data if certain criteria is met)

List B: One element from where I start my loop through List A with my workflow (B)

My workflow (B) loops through List A and calls the workflow A. This goes fine for about 750 more or less. After this it stops without any errors.

Any idea on what can cause this :-)

Regards Rico


3 replies

Badge +7

Hi,

Does your Start Workflow action wait for the workflow to complete before continuing? Just wondering if you're hitting the threshold on concurrent workflows and that's causing the problem, the default is 15.

Jan

Badge +1

Hi Jan

Thanks for your answer. I have made a demo on our developer SharePoint farm (so I don’t mesh up our production environment ☺)

DEMO

ListA: has 3000 element and WorkflowA

WorkflowA:

ListB: One element from where I start WorkflowB

WorkflowB

When I run the WorkflowB it gives me an error after about 530 elements

You mention that I maybe hits the threshold, is there a way I can prevent this? and how would you approach a task like this?

Venlig hilsen / Kind regards

Rico Bjørneboe Raben

SharePoint udvikler

IT

Danish Crown A/S, Marsvej 43, 8960 Randers, Cvr. nr. 26 12 12 64

Phone: 45 89 19 19 19<tel:4589191919>

Direct: 45 89 19 14 43<tel:4589191443>

Mobile: 45 29 22 23 70<tel:4529222370>

Fax: 45 89 19 22 35<tel:4589192235>

E-mail: ribr@danishcrown.dk<mailto:ribr@danishcrown.dk>

Web: www.danishcrown.dk<http://www.danishcrown.dk/>

Fra: janeyres

Sendt: 2. juni 2016 11:41

Til: Rico Bjørneboe Raben (RIBR)

Emne: Re: - Workflow that loops through list stops before end

Nintex Community <https://community.nintex.com/?et=watches.email.thread>

Workflow that loops through list stops before end

reply from Jan Eyres<https://community.nintex.com/people/janeyres?et=watches.email.thread> in Getting Started - View the full discussion<https://community.nintex.com/message/40935?et=watches.email.thread#comment-40935>

Userlevel 5
Badge +13

Which version and build of Nintex Workflow are you using?

Reply