Office 365 Workflows for SharePoint Designer 2013

Loop through list items and update field value

This activity allows looping through list items and updates items field value.

SharePoint Workflow Designer Phrase


Input parameters

Parameter Description Example
List identifier List for querying. The value could be list name, list base template, guid (not supported with multiple sites) or list URL (The web site relative URL). ). If the value field is empty, current list will be used. Documents [%Workflow Context: List ID %] 107 /Lists/Tasks
Caml Query CAML query that will be run <View Scope='RecursiveAll'> <Query> <Where> <Contains> <FieldRef Name='FileLeafRef' /> <Value Type='File'> .docx </Value> </Contains> </Where> <OrderBy> <FieldRef Name='ID' /> </OrderBy> </Query> <ViewFields> <FieldRef Name='FileLeafRef' /> <FieldRef Name='FileRef' /> </ViewFields> <RowLimit>10</RowLimit> </View>
Field Name Display field name Status
Field value New field value NEW_VALUE