Hello,
I am saving the uploaded files to a local variable and wanted to push to a folder. used a!moveDocument service
a!moveDocument(document:local!uploadedDocs,destination:(constant pointing to folder),
This does not do anything. Can you please help
Discussion posts and replies are publicly visible
Not without more details. A document is only in a valid state after a submit action. And I need a way more detailed explanation of what is going on.
In a recent episode of my Appian podcast we discuss how to get great answers here: https://appian.rocks/2023/12/20/episode-13-how-to-get-your-questions-answered/
You must have specified a target folder in your fileUploadField() so when you submit the form/task, your document gets uploaded in that folder. Not before that. So you can use this smart service after the document gets uploaded, which is after the form gets submitted.
There is a Process Smart Service version of it too that you can use straight after the user has submitted the task.