Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

These are the options that can be set for how to handle expiring cards in the Cards package in Smart ID Identity Manager.

Expand
titleManage 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:

    No Format
    /* 
    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).


Expand
titleManage 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:

    No Format
    /* 
    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

Expand
titleDefault 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



Expand
titleCards - manage options script for expiring cards

Click here to see the whole Cards - script for managing options for expiring cards