I have a loop in a workflow that is inserting new items into a list. Before the loop runs, I need to clear out any existing values in the list that match the criteria of the data being inserted (for instance, CategoryID).

The only option I see is to delete a single item in the workflow.

How can I either delete multiple items (maybe a REST call) or get a list of items that match my criteria and loop through them?

  • Is this SP 2010 or 2013 workflow? Please mention. – Ganesh Sanap Oct 13 '18 at 2:21

there is no direct looping out of the box in SharePoint Designer. You can work with tricks like those describer here:

SharePoint Looping Workflow - How to: Loop through and process all items in a list or SharePoint Designer Workflows 2 – Developing a For Each Loop for Workflows

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.