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

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

Version 1 Next »

Configuration

Process configuration

Parameter

Description

Value

PERSON_REQUEST_SCHEDULE

(Cron Format) How often to perform termination

`* * * * *`

PERSON_REQUEST_EXPIRATION

(Days, integer > 0) Person request lifetime

10


Specification

Search candidates

  1. Read PERSON_REQUEST_EXPIRATION parameter value

  1. Fetch records from 

IL.PERSON_REQUEST

  • status = 'NEW'

  • inserted_at < now()

    • PERSON_REQUEST_EXPIRATION

Change status

  1. Update status for all records to EXPIRED:

  • status = 'EXPIRED'

  • updated_at = now()

  • updated_by = SYSTEM_USER

  • No labels