Skip to main content
Skip table of contents

Cards - Manage option to add an approval step

This article describes how to manage the option to have an approval step for several use cases in the Cardspackage. Read more here: Smart ID Workforce use cases

See a list of all available options in the Smart ID use cases for the Cards package here: Cards - Options

Prerequisites

Prerequisites

-

Step-by-step instruction for the administrator

Log in to Identity Manager Admin
  1. Log in to Identity Manager Admin as Administrator.
Manage the option to have an approval step for "Request card"
  1. In Identity Manager Admin, go to Home > Scripts.
  2. Select the script CardsScriptOptions.
  3. In the section Approvals in the script, go to the CardsRequestApproval variable, see the example. By default it is set to true, that is, there is an approval step when you request a card for a user.

    Example for the Request card use case:

    /* 
    Defines if Card Requests require approval.
    Possible options:
     * true(default) - Approval steps are enabled.
     * false - Approval steps are disabled.
    */
    CardsRequestApproval = true
  4. If you do not want to have an approval step when you request a card for a user, set CardsRequestApproval to false.
  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 have an approval step for "Request multiple cards"
  1. In Identity Manager Admin, go to Home > Scripts.
  2. Select the script CardsScriptOptions.
  3. In the section Approvals in the script, go to the CardsBatchRequestApproval variable, see the example. By default it is set to false, that is, there is no approval step when you request multiple cards.

    Example:

    /* 
    Defines if Card Requests done through Batch require approval.
    Possible options:
     * true - Approval steps are enabled.
     * false(default) - Approval steps are disabled.
    */
    CardsBatchRequestApproval = false
  4. If you want to have an approval step when you request multiple cards, set CardsBatchRequestApproval to true.
  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 have an approval step for "Deactivate card"
  1. In Identity Manager Admin, go to Home > Scripts.
  2. Select the script CardsScriptOptions.
  3. In the section Approvals in the script, go to the CardsDeactivationApproval variable, see the example. By default it is set to false, that is, there is no approval step when you deactivate a card for a user.

    Example:

    Defines if Card Deactivations require approval.
    Possible options:
     * true - Approval steps are enabled.
     * false(default) - Approval steps are disabled.
    */
    CardsDeactivationApproval = false
  4. If you want to have an approval step when you deactivate a card for a user, set CardsDeactivationApproval to true.
  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 have an approval step for "Reactivate card"
  1. In Identity Manager Admin, go to Home > Scripts.
  2. Select the script CardsScriptOptions.
  3. In the section Approvals in the script, go to the CardsReactivationApproval variable, see the example. By default it is set to false, that is, there is no approval step when you reactivate a card for a user.

    Example:

    /* 
    Defines if Card Reactivations require approval.
    Possible options:
     * true - Approval steps are enabled.
     * false(default) - Approval steps are disabled.
    */
    CardsReactivationApproval = false
  4. If you want to have an approval step when you reactivate a card for a user, set CardsDeactivationApproval to true.
  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 have an approval step for "Lock card"
  1. In Identity Manager Admin, go to Home > Scripts.
  2. Select the script CardsScriptOptions.
  3. In the section Approvals in the script, go to the CardsLockingApproval variable, see the example. By default it is set to false, that is, there is no approval step when you lock a card for a user.

    Example:

    /* 
    Defines if Card Lockings require approval.
    Possible options:
     * true - Approval steps are enabled.
     * false(default) - Approval steps are disabled.
    */
    CardsLockingApproval = false
  4. If you want to have an approval step when you lock a card for a user, set CardsLockingApproval to true.
  5. Click Save in the upper left corner to save the updated script (or exit without saving if there are no updates).

Technical details

Default value and outcome
Use caseValueOutcome
Request cardTrue (default)There will be an approval step when requesting a card for a user

FalseThere will not be an approval step when requesting a card for a user
Request multiple cardsFalse (default)There will be not an approval step when requesting multiple cards

TrueThere will be an approval step when requesting multiple cards
Deactivate cardFalse (default)There will not be an approval step when deactivating a card for a user

TrueThere will be an approval step when deactivating a card for a user
Reactivate cardFalse (default)There will not be an approval step when reactivating a card for a user

TrueThere will be an approval step when reactivating a card for a user
Lock cardFalse (default)There will not be an approval step when locking a card for a user

TrueThere will be an approval step when locking a card for a user
The manage options for Cards script

Click here to see the whole manage options script.

Related information

JavaScript errors detected

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

If this problem persists, please contact our support.