--- title: Edit a PaCE policy script description: Edit the PaCE policy script to apply any changes to the policy logic. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/servicenow-platform/policy-as-code-engine-pace/pace-edit-policy-script.html release: australia product: Policy as Code Engine \(PaCE\) classification: policy-as-code-engine-pace topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Create PaCE policy versions, Manage PaCE policy versions, Administer PaCE policies, Policy as Code Engine \(PaCE\), Extend ServiceNow AI Platform capabilities] --- # Edit a PaCE policy script Edit the PaCE policy script to apply any changes to the policy logic. ## Before you begin Role required: sn\_pace.code\_editor ## About this task **Important:** For further information about testing your policy script, see [Use the Test Playground for PaCE policies](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/policy-as-code-engine-pace/pace-use-test-playground.md). ## Procedure 1. Navigate to **All** > **Policies** > **My Policies**. **Note:** To view all policies generated by admin/other users, navigate to **Policies** > **All Policies**. 2. Select the policy for which you want to update the script. 3. In the Details form of the relevant policy, click the **Versions** tab and select the version you want to edit. 4. In the policy version page, click the **Policy builder** tab. The following image shows a sample policy script. \[Omitted image "pace-policy-script-2.jpg"\] Alt text: Policy script. **Note:** The script is editable for policy versions in Draft state only. For policy versions in Current or Archived state, the script is read-only. 5. Apply any changes to the policy script, as required. 6. Click **Save**.