Due to the delegation issues with search in SharePoint, I’m attempting to use Power Automate to...
- Take a text input from my Power App and store the string in the trigger input as searchTerm
- Get SharePoint list items HelpdeskTickets, filter them for only those where searchTerm is contained in ‘Title’ or ‘Description’ columns
- Return the results to my Power App in an output called searchResults
First, I used the “Filter Query” property on the “Get Items” action. I got the solution to return a full list of items, but limited to ONLY searching the Title column (turns out “substringof” does not work in SharePoint Note (multi-line text) columns)
Here is the flow structure that worked in a limited fashion...


So I KNOW the solution is viable...
Now, instead of using the Filter Query on the Get items action, I thought of using a Filter Array action to take the output of Get items, isolating the desired items/records (using an OR conditional statement), and appending each to an array variable.
My plan...
- After the trigger that stores searchTerm, createa an array variable called varSearch using Initialize variable (type array)
- Take the output of Get items, into an Apply to each control where I want...
- Use Select to grab only the columns I'm interested in
- Use Filter array to only grab items/records that meet my criteria
- Append to array variable to add each item found to varSearch, building an array that includes all the items returned
- Take the array stored in varSearch into a Compose control, and...
- Pass that into my Respond to PowerApp or flow control to be handed back to my Power App
Here is my current configuration...



I'm having the following error in my Select control that I don't know how to resolve...
The 'from' property value in the 'select' action inputs is of type 'Object'. The value must be an array.
Any assistance or thoughts on how to get this working is greatly appreciated.