Skip to main content
Skip table of contents

Cards - script for managing options for expiring cards

This is the script that is used to manage the options for expiring cards in the Cards package in Smart ID.

---------------- Expiring check ----------------

/* 
Defines a list of days for when the expiring check email is sent out. 
These values must be comma-separated and as an Integer. 
Currently maximum day is 60. 
Changes need to be applied to the search configuration CardsSearchBatchSyncExpiring if higher value is required.
Possible options:
 * [60, 30, 14, 7](default) - Email will be sent out 60, 30, 14 and 7 days before expiring.
*/
CardsEmailBeforeExpiringDays = [60, 30, 14, 7]


/* 
Defines if expiring check email is supposed to be sent each day after the last day in  CardsEmailBeforeExpiringDays.
Example: If the last day(least) is 7 in CardsEmailBeforeExpiringDays. Send email on 6, 5, 4, 3, 2 and 1.
Possible options:
 * true(default)  - Email will be sent out every day after the last day in CardsEmailBeforeExpiringDays.
 * false - Emails will not be sent out after the last day in CardsEmailBeforeExpiringDays.
*/
CardsEmailBeforeExpiringEachDay = true
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.