Activate or deactivate a PaCE policy

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:5分
  • You can activate or deactivate any PaCE policy. Only activated policies can validate object (tables and document IDs) changes. Deactivated policies are not executed, even if the policy is mapped. Deactivating a policy enables you to place the policy into a maintenance-like mode.

    始める前に

    Role required: sn_pace.policy_editor

    このタスクについて

    You can deactivate or activate any policy at any time.

    For activated policies:
    • The policy must include a Current (published) version. For more information, see Manage PaCE policy versions.
    • The policy is auto-validated when you activate it (if the policy has mapping inputs defined). Validation verifies the validity of mapping inputs, and checks that all required inputs were set. For more information, see the Validate mapping inputs section.
    Deactivating a policy enables you to place the policy into a maintenance-like mode. You can make changes, safe in the knowledge that no one is using the policy. While deactivated, the policy mappings are kept, but the policy cannot be executed. After you are done with any changes, you can reactivate the policy and any existing mappings are reused.
    注:
    The activation or deactivation of a policy is audited for tracking purposes. This audit information is included in the standard ServiceNow AI Platform auditing records.

    手順

    1. Navigate to All > Policies > My Policies.
      注:
      To view all policies generated by admin/other users, navigate to Policies > All Policies.
    2. Select the check box next to the policy that you want to activate or deactivate.
      注:
      To activate a policy, its current state must be Policy Inactive state. To deactivate a policy, its current state must be Policy Active state. You can select multiple policies, as required.
    3. Activate or deactivate the selected policy.
      TaskDescription
      Activate a policy
      1. Select an inactive policy and click Activate.
        注:
        If there is no Current (published) version for the selected policy, you must first publish a version before activating. For more information about publishing a policy version, see the Managing policy versions section.
      2. In the displayed confirmation message, click Activate.
        Validation of the activated policy and its associated mapping inputs is performed automatically. In addition, the policy is added to the list of active policies in the All Policies page.
        注:
        If the mapping inputs are invalid, you are redirected to the Mappings tab to define valid mapping inputs. For example, you can define required mapping inputs that do not include default values.
      3. If you want to activate and publish the latest version on multiple policies, select the policies then click the Activate drop-down menu. In the Activate Policy window, select the Publish the latest versions of these policies check box, then Activate.
        注:
        This only works with content-based policies.
      Deactivate a policy
      1. Select an active policy, and click Deactivate.
      2. Click Deactivate to confirm.
        注:
        If a policy is set as inactive, its mapping state is also set as inactive. As a result, the policy cannot be executed.

    次のタスク

    If you did not publish your policies, you can publish multiple policies. Select the check box next to the Policy names that you want to publish or select the Select All box next to the Policy name list. Select the Activate drop-down menu then Publish latest.
    注:
    This only works with content-based policies and not user-based policies.