Skip to main content
Nintex Community Menu Bar

Nintex loop that count and iterate based on config

  • March 11, 2019
  • 1 reply
  • 8 views

Forum|alt.badge.img

Hello everyone,

 

I have this requirements to automate dispatched of items using a config list. The config list has name of person and no. of items he/she can update. The value of items that he/she can update is the count I will use in my update item loop. Once completed, it should move to the next person and get the items he/she can update. 

 

Sample Config list:

PersonItems he/she can update
Sarah10
Jane15
Nick5

 

Any idea how I can do it in Nintex workflow? 

1 reply

Forum|alt.badge.img+14
  • Scholar
  • March 21, 2019

so use query list action to get entries from config list. store list of user names and their respective counts into collection variables.

 

set up for each loop to iterate over collection of user names. let the action store current index into a variable.

 

use collection operation action to get an element from counts collection variable at a index position by the index variable populated above

 

use the found count value for update action/loop.