Sorting & Moving All But One File In A Project Folder | Community
Skip to main content
Eric_D_Miller
Level 5
March 23, 2026
Solved

Sorting & Moving All But One File In A Project Folder

  • March 23, 2026
  • 1 reply
  • 14 views

I am attempting to run a scenario that will get the entryDate of each document version in a document folder. I am successful there, but need to understand how I can extract the newest file (by entryDate) and move each other file into a specified folder.

Can someone elaborate on how to go about this?

 

Thanks!

Best answer by KristenS_WF

I haven’t tested it for your scenario, but I once built a scenario for baselines, part of which involved identifying the most recent baseline.  You might be able to adapt it; I used a Custom API Call module:

 

You might have a router path for those files that don’t match the object ID found in your call.  It doesn’t look like the Document Version object has a moveToFolder action associated with it, but the Document object does.

1 reply

KristenS_WF
KristenS_WFAccepted solution
Level 7
March 23, 2026

I haven’t tested it for your scenario, but I once built a scenario for baselines, part of which involved identifying the most recent baseline.  You might be able to adapt it; I used a Custom API Call module:

 

You might have a router path for those files that don’t match the object ID found in your call.  It doesn’t look like the Document Version object has a moveToFolder action associated with it, but the Document object does.