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
-
Navigate to All > Policies > My Policies.
Note: To view all policies generated by admin/other users, navigate to Policies > All Policies.
-
Click the Policy name for the policy that includes the version you want to edit.
-
In the Policy Details page, click the Versions tab.
-
Click the Version name that you want to edit.
-
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 for details on adding input variables.
|
|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/brazil/markdown/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/brazil/markdown/servicenow-platform/policy-as-code-engine-pace/pace-review-executed-policies.md) for details.|
---
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/servicenow-platform/policy-as-code-engine-pace/pace-edit-draft-version.html
release: brazil
product: Policy as Code Engine \(PaCE\)
classification: policy-as-code-engine-pace
topic_type: task
last_updated: "2026-09-10"
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.
<table id="choicetable_tvq_3x4_3pb"><thead><tr><th align="left" id="d596472e131">
Tab
</th><th align="left" id="d596472e134">
Editable options
</th></tr></thead><tbody><tr><td id="d596472e140">
**Details**
</td><td>
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.
</td></tr><tr><td id="d596472e158">
**Policy Builder**
</td><td>
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/brazil/markdown/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.
</td></tr></tbody>
</table>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/brazil/markdown/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/brazil/markdown/servicenow-platform/policy-as-code-engine-pace/pace-review-executed-policies.md) for details.|
| 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/servicenow-platform/policy-as-code-engine-pace/pace-edit-draft-version.html |
| release | brazil |
| product | Policy as Code Engine \(PaCE\) |
| classification | policy-as-code-engine-pace |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 2 |
| breadcrumb | Manage PaCE policy versionsAdminister PaCE policiesPolicy as Code Engine \(PaCE\)Extend ServiceNow AI Platform capabilities |