Search - User list
Full Version: skipping work items
Root » PDG/TOPs » skipping work items
axelsp
Hello,
Lets say i have generated 10 work items but already cooked 3.
Is there a way to explicitly tell the network to skip the first 3 indices?
axelsp
This reply is more of a personal note, if thats ok. Just nicked and adapted this from another post in the forum.
I need to test it still.

choices = range(3)
for index, upstream_item in enumerate(upstream_items):
if index not in choices:
item_holder.addWorkItem(parent=upstream_item)
tamte
For your case you can also use Filter By Range TOP
axelsp
Tomas you legend ! Thanks for this, *Filter by Range* is not only the favorite answer but it also opened a whole new can of worms for me.
Thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB