Skip to main content

What is a Policy Version?

A Policy Version is a snapshot of rules within a policy group. It follows a strict lifecycle — similar to a Git branch that gets merged and tagged as a release. Each version has:
  • A version number (auto-incremented: v1, v2, v3…)
  • A commit message describing what changed
  • A status that determines what you can do with it
  • Zero or more rules (conditions + actions)

Version Lifecycle

DRAFT → ACTIVE → ARCHIVED

              EXPIRED (auto)
StatusCan Edit Rules?Can Deploy?Description
DRAFTWork in progress. Add, modify, delete rules freely.
ACTIVEPublished and locked. Ready for deployment.
ARCHIVEDSuperseded by a newer version. Read-only history.
EXPIREDPast its effectiveTo date. Auto-transitioned by scheduler.
Publishing a version (DRAFT → ACTIVE) locks it permanently. You cannot add, modify, or delete rules in a published version. If changes are needed, clone the version to create a new DRAFT.

Key Constraints

  1. Cannot publish without rules. A version must have at least one rule before publishing.
  2. Cannot modify after publishing. Once ACTIVE, the version is immutable.
  3. Cannot deploy a DRAFT. Publish first, then deploy.
  4. Always dry-run before publishing. Validate rule behavior against test inputs.

Cloning a Version

When you need to iterate on a published version:
  1. Select the ACTIVE version you want to base changes on
  2. Click Clone — this creates a new DRAFT with all the same rules
  3. Modify rules in the new DRAFT
  4. Dry-run → Publish → Deploy
Cloning preserves the full rule set, so you only need to change what’s different.

Effective Date Range

Versions can optionally have effectiveFrom and effectiveTo dates. When the current time exceeds effectiveTo, the scheduler automatically transitions the version to EXPIRED. This is useful for time-bound promotions or seasonal rules that should automatically deactivate.

Next Steps

Policy Rules

Learn how to define conditions and actions within a version.

Deployments

Learn how to push versions to production.