Hi All ,
In File Upload Control , I don not want to save the File in Knowledge Center Folder when User First Upload and then Click Cancel or Close the Tab . What should I do in this case .
Discussion posts and replies are publicly visible
The file is persisted when the user clicks a submit enabled button. An option might be to clear the rule input which stores the document on clicking the submit button.
Unknown said:An option might be to clear the rule input which stores the document on clicking the submit button.
nope. it will prevent the document ID from being passed into the process, but will not prevent the document from landing in the target folder. the only viable methods I've found to handle this are to either disable the "cancel" button, or to have the SAIL form track "newly uploaded" document IDs and pass them into an "orphaned doc IDs" list when Cancel is clicked, then have a special flow in the process to delete orphaned documents.
Edit: of course I replied before reading the rest of the thread. Did your tests eventually bear this out? In the (not very distant) past I've tested this extensively, but maybe not within the previous 2 or 3 Appian versions, in case anything's changed.
The recent I tested is 21.1 and it's same behavior.
I assumed so - thanks :)
I opened a support case. This is a bug! And since many years ...
I could've sworn I'd brought it up with them before and been told it's expected behavior. That said, it would be great if it could be "fixed" since it would alleviate the need for various "orphaned document" restrictions/cleanups I've had to implement here and there.
Case no. is 527349 in case you want to add your own ;-)
Please let me know what response you get :)