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?

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.