cancel
Showing results for 
Search instead for 
Did you mean: 
Kammasood
Nintex Newbie

Run Site workflow in batches

HI There, 

i have 15K items in the list and have a Site workflow to run against themt o change some metadata. I would like this to run in btaches, so say 100 at one time? how can i approach this?

 

please advise?

Labels: (1)
Tags (3)
0 Kudos
Reply
4 Replies
Nintex Employee
Nintex Employee

Re: Run Site workflow in batches

Hi,

It sounds like you are looping through your 15K items.

You could add the following to your workflow to pause every 100 items.

BatchWF.png

 

Math operation looks at the loop count and divides it by 100.

Math.png

If the calculation has zero remainder then the run If will run.

RunIf0.png

 

 

Reply
Kammasood
Nintex Newbie

Re: Run Site workflow in batches

thanks for your message, i am new to nintex so can you please advise where to place these actions, before query list or after and what will be the type of loopcount and calculation variables? please advise? 

 

my workflow screenshots are attached. 

 

thanks 

0 Kudos
Reply
Kammasood
Nintex Newbie

Re: Run Site workflow in batches

It would also be better to target id 1-100 at one time as this workflow will run for ages?
If user can direct the workflow to pick up id 1-100 at one time and than the next lot and than next.
What do you recommend? Thanks
0 Kudos
Reply
Nintex Employee
Nintex Employee

Re: Run Site workflow in batches

Hi,

Hard to point you in the right direction based on a bunch of random pictures of your screen. Basically the actions I suggest would go at the end of your for each loop. The variables would be of type number as they will be holding a number.
0 Kudos
Reply