--- title: Edit a draft PaCE policy version description: 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. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/servicenow-platform/policy-as-code-engine-pace/pace-edit-draft-version.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: 2 breadcrumb: [Manage PaCE policy versions, Administer PaCE policies, Policy as Code Engine \(PaCE\), Extend ServiceNow AI Platform capabilities] --- # Edit a draft PaCE policy version 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.
Tab Editable 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:- Click **New** to add a new input variable. See [Create a new variable for a policy version](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/policy-as-code-engine-pace/pace-create-variable-policy-version.md) for details on adding input variables. - Select an existing variable and click **Delete** to remove the variable from the list.
6. Perform one of the following actions. |Option|Description| |------|-----------| |**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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/policy-as-code-engine-pace/pace-use-test-playground.md).| |**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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/policy-as-code-engine-pace/pace-review-executed-policies.md) for details.|