cancel
Showing results for 
Search instead for 
Did you mean: 

Doing soft delete of the uploaded files in activiti

Arun_nmc
Champ on-the-rise
Champ on-the-rise

Hi All,

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.

will that be possible in alfresco activiti.

please suggest your thoughts.

Thanks

Arun K

2 REPLIES 2

Arun_nmc
Champ on-the-rise
Champ on-the-rise

Hi All,

please suggest your thoughts.

Thanks

Arun K

abbask01
Star Collaborator
Star Collaborator

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.

Hope it helps.

Regards,
Abbas