Skip to main content
Nintex Community Menu Bar

How to simulate loop using For each

  • March 13, 2017
  • 4 replies
  • 10 views

Forum|alt.badge.img+8

Hi,

I would like to repeat a set of actions until certain condition is met. However, For each action only takes a target collection to iterate through. i would like to repeat a set of actions for n number of times. I tried using "Loop" action and it is very slow. How can i use For each without specifying a collection?

Please help,

4 replies

Forum|alt.badge.img+14
  • Scholar
  • March 13, 2017

read following inspirative blogpost   writtenn by


Forum|alt.badge.img+8

If you have safe looping enabled, it tends to be more slow.


Forum|alt.badge.img+9
  • March 14, 2017

The Plus side is your SharePoint is still functional when someone writes an infinite loop. We all do--we all write logic we think --sometimes it doesn't translate to the same code.


Forum|alt.badge.img+8
  • Author
  • March 14, 2017

Excellent! this approach worked for me happy.png. Thank you so much!!