In the K2 Workflow Designer (legacy), you can configure a recursive search filter in the Update List Item and Update Document Properties wizards.
The recursive search filter allows you to configure a search filter for SharePoint list and library items in the root or in subfolders. The wizard searches all folders (including the root) within the targeted list or library.
The SharePoint list item and document steps in the K2 Workflow Designer do not expose the recursive Yes/No property, but you can still accomplish the same result using the steps provided here.
Follow the steps below to configure a recursive search filter in the K2 Workflow Designer. This example uses a custom list called Events with custom columns called Status and Department.
Create a K2 application for the Events list.