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 3 Next »

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
  1. Log in to Identity Manager Admin as Administrator.
  2. In Identity Manager Admin, go to Home > Scripts.
  3. Select the script CardsScriptExpiringOptions.
  4. In the script, go to the CardsEmailBeforeExpiringDays variable, 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]
  5. 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
  1. Log in to Identity Manager Admin as Administrator.
  2. In Identity Manager Admin, go to Home > Scripts.
  3. Select the script CardsScriptExpiringOptions.
  4. 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
  5. 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
VariableValueOutcome
CardsEmailBeforeExpiringDays [60, 30, 14, 7] (default)An email will be sent out 60, 30, 14 and 7 days before the card expires
OtherAs set in the value
CardsEmailBeforeExpiringEachDay True (default)Emails are sent out each day after the last day in CardsEmailBeforeExpiringDays
FalseNo 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


  • No labels