Doing soft delete of the uploaded files in activiti
we can able to upload the file in the alfresco activiti. and we can also delete the uploaded files.
once we delete the file will be removed from the UI as well as the entry in the related_content and content_rendition tables are also get removed. the file also removed from the server.
in our project there is a requirement if we want to delete the uploaded files, the file should not be removed and wants to still show in UI as inactive(meaning the file icon need to be displayed, however th file could not be downloaded and content should not be shown).once we click active button then the file will be showed as active and user can view the content of the files and able to get download the files.
Re: Doing soft delete of the uploaded files in activiti
You can customize UI to hit API that only removes the variable holding the ID of the file from the process, but you won't be able to reattach it, you'll have to create another custom page in order to do so.
i'd suggest to use an external DMS instead. that way your process and documents can exists without depending on each other.