Bitrix24 Community

Support » Forum » Bitrix24 general questions » Automatically emptying recycling bins
Pages: 1
RSS
Automatically emptying recycling bins
In our company, we have a large number of groups that work with a large number of very disposable documents. This is starting to become a problem, and going through it by hand seems like a tedious and time-consuming endeavor. Is there any good way to tell Bitrix to empty all the recycling bins at the end of the month? Or, failing that, any good way to force it to call the "empty recycling bin" function from within a business process?

Thanks,
-Jonah
Hi Jonah,

You can use option delete irreversibly instead of moving files to the recycle bin. Unfortunately no other options are available.

Best,

Yana.
Quote
Yana Prokopets wrote:
Hi Jonah,

You can use option delete irreversibly instead of moving files to the recycle bin. Unfortunately no other options are available.

Best,

Yana.
Is that what the "delete document" process does in Business Processes?  
Jonah Swersey, If you have an algorithm, according to which certain documents need to be removed, it is possible to program business process or application for the implementation of this algorithm.
Quote
Yuliya Bedrosova wrote:
Jonah Swersey , If you have an algorithm, according to which certain documents need to be removed, it is possible to program business process or application for the implementation of this algorithm.
More or less, all I want is that whenever a file is placed in the recycling bin, the system waits a week or so, then deletes it permanently. I'm trying to get into business processes, but it is a bit complex.  
Jonah Swersey, Then it can be organized as follows: external application on the Rest-API, which will need to write will verify the "DELETE_TIME" field of files with "DELETED_TYPE" marker from recycling bin and delete a file forever if period of storage has expired.
Edited: Yuliya Bedrosova - 02/01/2017 19:26:10 (орфография)
Pages: 1
2,000,000+
organizations
are already using Bitrix24