Hi All,
I'm trying to move some documents from one folder to another by using a process model that runs once a day, I'm trying to use the Move Document smart service but it only lets you move one at a time. Can someone give me some feedback or alternatives? maybe I'm implementing it incorrectly
thanks in advance
Discussion posts and replies are publicly visible
The Move Document smart service can be configured with MNI enabled against a list of documents.
Can you elaborate more in this please? is my first time using the move document smart service
If you click the "Other" tab in the node's configuration, you can select "Automatically run multiple instances", then select to run it once for each item in the (array type) PV containing references to the documents (or document IDs, either will work).
Then in the Data Input tab you can just reference the Document List PV, and the node is smart enough to iterate over the items found in that list one-by-one.
Thank you! I appreciate it, but how are you referencing the documents in the specific folder without having to manually select them for example in the process variable? since its a process that will run daily I want to make sure it moves all files in the folder added that day.
Prior to the node you would need to set the value of the "document list" PV to the current contents of the folder. There are various ways to do this, the easiest is probably the folder() function.
Yes, I was about to respond that I figured it out and I used the folder function.
Thank you so much!