Table of Contents |
---|
Purpose
Personal data in declaration_requests should be automatically deleted according to the global parameters configuration. In order not to store personal data in the declaration_requests longer than it is allowed by the law.
WS logic
Create Job for declaration_requests
If declaration_request.inserted_at < now() - declaration_request_expiration
- delete personal data in declaration_requests -
- update declaration_requests
- status –> EXPIRED
- updated_by = SYSTEM_USER
- updated_at = timestamp
...