Update Every Item in a List

  • 1 November 2010
  • 4 replies
  • 1 view

Badge +2

Hello,


I am using K2 BlackPoint and I need to know how to loop through every item in a list and update one of it's metadata fields, can you help?


Thanks!


Tom


4 replies

Badge +6

There is no direct way to do this. But the work around can be, read all the items ids from the list, keep them in a string, extract each id and loop the activitiy to update that selected item.

Badge +2

Sounds promising - how would I read all the items id's from the list? 

Badge +6

You can use smart objects.

Badge +7

Hi Tom,


You can use a sharepoint search event to search through the sharepoint list for a using a specific column data then store the result to a content field. Update the sharepoint list item using the results in the content field and draw the line back to the search activity for looping.

Reply