These are the options that can be set for how to handle expiring cards in the Cards package in Smart ID Identity Manager.
Manage the option to set up how often to send emails regarding expiring cards
Log in to Identity Manager Admin as Administrator.
In Identity Manager Admin, go to Home >Scripts.
Select the script CardsScriptExpiringOptions.
In the script,go to the CardsEmailBeforeExpiringDaysvariable, see the example. By default it is set to 60, 30, 14, 7, which means that an email will be sent out 60, 30, 14 and 7 days before the card expires. Example:
/*
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]
Click Save in the upper left corner to save the updated script (or exit without saving if there are no updates).
Manage the option to send reminder emails
Log in to Identity Manager Admin as Administrator.
In Identity Manager Admin, go to Home >Scripts.
Select the script CardsScriptExpiringOptions.
In the script,go to the CardsEmailBeforeExpiringEachDay variable, see the example. By default it is set to true, which means that emails are sent out each day after the last day in CardsEmailBeforeExpiringDays, (in the example above, day 7 before expiring).
Example:
/*
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
If you do not want emails to be sent out after the last day in CardsEmailBeforeExpiringDays, set CardsEmailBeforeExpiringEachDay to false.
Technical details
Default value and outcome
Variable
Value
Outcome
CardsEmailBeforeExpiringDays
[60, 30, 14, 7] (default)
An email will be sent out 60, 30, 14 and 7 days before the card expires
Other
As set in the value
CardsEmailBeforeExpiringEachDay
True (default)
Emails are sent out each day after the last day in CardsEmailBeforeExpiringDays
False
No emails are sent out after the last day in CardsEmailBeforeExpiringDays
Cards - manage options script for expiring cards
Click here to see the whole Cards - script for managing options for expiring cards