SPD Workflow Issue Solved – List item not found error when finding item using metadata value
Use a SharePoint Designer workflow to test if any item in a list has a specific value for a field without the workflow stopping due to a List item not found error.
Ever needed to just check if an item exists in a list in order to perform different workflow actions if the item is not found without the workflow crashing? For example, when building a workflow using SharePoint Designer, you may want the workflow to test if there is an item with the required title that already exists in the list. If the item exists, the workflow can be configured to update the existing item. If no item exists in the list with the required title, the workflow would usually stop due to a List item not found error. To overcome this, the value from the required field in each list item can be concatenated into a single string which then allows the workflow to test using string comparison, which does not result in a workflow error if the item is not found in the list.
Related posts:
- InfoPath – Update Existing SharePoint List Item Programmatically Using CAML
- Get current time in Sharepoint Designer workflow
- SharePoint Designer Workflow Error Resolutions & Workarounds
- How to wait for a change in any list, wait for multiple field changes in the current item (SharePoint Workflow)
- SharePoint Looping Workflow – How to: Loop through and process all list items
Tags: SharePoint, SharePoint Designer, Workflow