Edit a draft PaCE policy version

  • Release version: Xanadu
  • Updated August 1, 2024
  • 1 minute to read
  • You can edit a Draft PaCE policy version at any time. The Draft version can be published to become the Current version. You can also create multiple different Draft versions from different Archived versions.

    Before you begin

    Role required: sn_pace.code_editor

    Procedure

    1. Navigate to All > Policies > My Policies.
      Note:
      To view all policies generated by admin/other users, navigate to Policies > All Policies.
    2. Click the Policy name for the policy that includes the version you want to edit.
    3. In the Policy Details page, click the Versions tab.
    4. Click the Version name that you want to edit.
    5. Edit the information and inputs in the Details and Policy Builder tabs.
      TabEditable options
      Details Update the Description field.
      Note:
      The Description field is the only editable field in the Details tab. The version and revision numbering are generated automatically and cannot be modified.
      Policy Builder In the Define Variables section, select Config Parameters. You can:
    6. Perform one of the following actions.
      OptionDescription
      Save the version Click Save. The policy version is saved and the version page is refreshed.
      Publish the version Click Publish Policy. In the displayed confirmation message, click Publish. The policy version becomes the Current version and is used the next time the policy is invoked.
      Test your updates Click the Test Playground tab. The Test Playground page is displayed, where you can update the policy script and test your changes. For further information, see Use the Test Playground for PaCE policies.
      Delete the version Click Delete. Only versions that have never been used can be deleted.
      Review execution activity Click the Executions tab to review the execution activity for this version. See Review executed policy activity for details.