Hi all,
We need to delete files from the Appian local file system on linux (Appian 20.2). We are running on premise. Is it possible?
Kind regards,
Jesus
Discussion posts and replies are publicly visible
Difficult to answer without details. Are these files stored as Appian documents? Then there is a smart service "Delete Document".
No, they are just excel files stored in the linux file system in the local Appian Server. I have now a workaround which consists on moving the file to Appian and deleting it there. It is not ideal but it does the job. I would prefer to be able to delete directly where it is, though.
Any reason that since you are on premise, you can't login / have a system admin login and delete the files at the server level?
That seems weird to me. Where do these files come from?
Why do you move these files into Appian and then delete them? What does this actually mean?
Can you elaborate. I do not understand what this is about.
There is a requirement to delete some files in the file system generated externally. I havent found how can Appian do it out of the box. We could of course use other tools, but at the moment the requirement is to do it inside an Appian process. I was hoping to find a plugin to deal with external files but I havent found any. I could write a plugin as well, that would be another solution.
It would be better to do it automatically because the files are generated periodically. We could generate a cron job to do it as well. I was wondering if we could do it with Appian.
Note Appian does not provide any functionality OOTB to interact with your server filesystem directly. There is a plugin for on-prem use, Appian Collab / Filesystem Utilities, but I can't recall if this will allow you to delete the files or not. Otherwise you will be looking to implement a cron job or periodic manual cleanup.
As far as I know this plugin is the only way within Appian to interact with the filesystem, other than developing a custom plugin yourself.
Hi Chris, that plugin only allows me to move the file from the file system into appian. And once in Appian I can delete it. That would be a solution. However, I think it is cleaner to write a simple java plugin to delete files. I dont really like the idea of transferring files to another system just to be able to delete them.