ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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.

Global parameters

declaration_request_expiration
declaration_request_term_unit

WS logic

Create Job for declaration_requests

ParameterDescriptionValue
?(Cron Format) How often to perform termination?


If declaration_request.inserted_at > now() - declaration_request_expiration

  • delete personal data in declaration_requests: data, authentication_method_current, documents, printout_content
  • update declaration_requests
    • status –> EXPIRED
    • updated_by = SYSTEM_USER
    • updated_at = timestamp


  • No labels