Create a new variable for a policy version
- UpdatedJul 31, 2025
- 3 minutes to read
- Zurich
- Policy as Code Engine
Create an API Variable, Config Parameter, or Record Reference for the policy version in the Define Variables section of the Policy Builder.
Before you begin
If you want to create a variable that will apply to all of your policies, then do the following:
- Go to the Variable Definition section on the main page.
- Select the variable section that you want to create.
- Select Add.
When you save the variable, it will show up in the Define Variables section on the Policy Builder of the policy.
Role required: sn_pace.code_editor
Procedure
Result
You can add your variables into the Policy Builder as needed. Additionally, you can delete a variable by selecting it and selecting the Delete button.

