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

Run parallel action on same list

Hi,

I have list of 5000 items, I need to set item level permission on list. for that I have created Nintex WF with parallel action. I have created total 5 branches and each branch set the item level permission for 1000 items. During the execution, it set item level permission for some items and then giving error in WF.
Is there any limit to set item level permission in site WF?
Does site WF give an error, if it is running since long times / server is idle?


Can you please help me on this issue.

 

Example:
Branch 1: set item level permission for ID = 1 to 1000
Branch 2: set item level permission for ID = 1001 to 2000
Branch 3: set item level permission for ID = 2001 to 3000
Branch 4: set item level permission for ID = 3001 to 4000
Branch 5: set item level permission for ID = 4001 to 5000

 

Site WF:

Parallel WF.JPG

 

Error message:

error.JPG

 

Thanks,
Kalpesh

Labels: (1)
0 Kudos
Reply
3 Replies
Highlighted
Automation Master
Automation Master

Re: Run parallel action on same list

Hi,

 

I've seen something similar while looping a lot of items...my solution was to put a pause every 200 iteration (this number may change depending on your infrastructure)

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Run parallel action on same list

Hi @jackgelo 

 

Thanks for your feedback. 
What would be minimum time of pause? and Is it due to set item level permission inside the loop ?

 

Thanks,

Kalpesh

0 Kudos
Reply
Highlighted
Automation Master
Automation Master

Re: Run parallel action on same list

Hi,

 

you can set the minimum allowed (1 minute), so the process will restart with hopefully with the next workflow timer job (every 5 minutes by default)..

 

the pause is necessary just for the high number of action that are being executed, even with an update item it will be necessary (in most of the environment I've seen)

0 Kudos
Reply