Skip to main content
Nintex Community Menu Bar
Question

Does Query SharePoint List work in component workflows using Nintex online

  • November 10, 2025
  • 1 reply
  • 8 views

Forum|alt.badge.img+2

I have a component workflow for which I want to move - dynamically names files from one folder to another IF a certain condition is met.  BUT I will not necessarily know the file ID but will know a part of the file name and the dynamic file folder.  So I tried query list to pull the Library in using  variable and I KNOW the folder and subfolders exists along with the file as an earlier branch has created them and I can actually see them in SharePoint.  BUT the workflow keeps saying the folder does not exist.

Wondered if the query list was returning nothing and that’s the  cause of the failure.

Oh and Retrieve item returns something but I cannot use it as a collection for a Loop for each action.

1 reply

SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • 2620 replies
  • November 10, 2025

Hi ​@robert081171,

I just tested a query with part of a file name, and I was able to find it, get the item ID, Get the FIle, Store the file, and then delete the original file which in effect moves the file.
There is no need to know the folder ID of the source file when doing the query.
If the issue persists, please provide a screenshot of the Query action configuration.