Skip to main content

Publishing and Releasing Decision Tables

Publishing creates a validated version of a decision table, and an environment release decides which published version runs. This page covers approvals, scheduled activation, version selection and deletion protection.

The editor has four tabs: Rules, Versions, Releases and Metrics. You publish and review on Versions, and you choose what runs on Releases.

Publishing and approvals​

A version has one of these states: Draft, Pending Approval, Published, Rejected or Discarded. Discarded drafts remain in history and cannot run. Published version numbers support release selection, pins and history.

To publish, open the table and select the Versions tab. The app-bar publish icon, the tour and the missing-table link also open this tab. Publication alone does not activate the newest version in every environment.

The Versions tab shows a one-line banner above the version table for the newest draft, pending or rejected version. The banner says what to do next and holds the buttons for that state. Published versions have no actions here, because which published version runs is chosen on Releases. When there is no banner, the tab reads "Edit the table in the Rules tab to start a new draft."

Publish is disabled while you have unsaved edits. The banner then reads "You have unsaved changes in Rules. Save them before publishing." and offers Go to Rules.

Draft​

Banner: "Version N is a draft. Publish it, then make it live in the Releases tab."

ActionBehavior
PublishSubmits the draft for approval. If the workspace has no approvers configured, it publishes immediately and the version becomes active. A validity check runs first.
Inspect ChangesShown only when a published version is active. Opens a changelog that compares the draft with the active published version.
DiscardAsks you to confirm "Discard draft Version N?": "The draft is kept in version history as discarded and will never run. Its version number is not reused." Select Discard draft to confirm.

The changelog shows before and after rows plus column type changes. With no differences it shows "No Changes". Without a published version it shows "No published version available to compare with."

After you submit, Studio shows "Version submitted for approval." With no approvers it shows "Version N is published because this workspace has no approvers."

Pending approval​

Banner: "Version N is waiting for approval. Withdraw it to keep editing."

ActionBehavior
ApproveRecords your approval. A comment is optional (up to 500 characters).
RejectRejects the version. Reason for rejection is required.
WithdrawReturns the version to draft for editing. Studio shows "Version retracted to draft for editing."
Inspect ChangesOpens the changelog, as for a draft.

Approve and Reject appear only for users who can review that version. The workspace must have approvers configured. The approver must be someone other than the author or last editor, and must not have acted on the version before. If Studio refuses your approval or rejection for that reason, it shows the reason and closes the review dialog.

The version publishes when the required count is reached. Until then Studio shows "Approval recorded (n/m)". The last approval shows "Version approved and published!" Rejecting shows "Version rejected."

Rejected​

Banner: "Version N was rejected by reviewer: comment. Edit it and resubmit."

ActionBehavior
EditReturns the rejected version to draft so you can change it.
PublishSubmits the rejected version again.

The version table​

Each row is one version. The columns are:

ColumnShows
Version"Version N". An Editing tag marks the draft that is open in the editor.
StatusA status tag, plus a Live in Environment or Scheduled in Environment badge. The badge reflects the Development release only.
CreatedWhen the version was created.
ByWho created it.
ActionsOpen, hidden on the version that is already open.

Rows with review detail expand to show Reviewed by, Comment, Rolled back from, Approvals n/m and each approver's decision. Select Refresh to reload the list.

Select Open to load a version into the editor and switch to Rules. If you have unsaved edits, Studio asks "Discard unsaved changes?" and explains "Opening version N replaces the edits you have not saved." Select Discard and open to continue or Keep editing to stay.

The editor header shows the open version, its status, and what is live or scheduled in Development. Publish is no longer in the header.

Workspace permissions and revision checks protect edits. A stale edit receives a conflict instead of replacing a newer revision.

Environment releases and scheduled activation​

An environment release binds a whole published table version. Each environment can have an active version and at most one future activation.

Environment or timeActive versionFuture activation
Development5None
Production before T4Version 5 at T
Production at or after T5Version 5 is now effective

Before the scheduled instant T, Production evaluates version 4. At T and afterwards, it evaluates version 5. The invocation uses one captured instant, so release selection and date functions stay consistent for that evaluation.

Release a version​

Releasing requires permission to update decision tables and to deploy workflows.

  1. Open the table and select the Releases tab.
  2. Choose the Environment. Studio opens on Development when it is registered. If the organization has no deployment environments, an organization admin must set one up.
  3. In Release a version, choose the Version to release. Only Published versions can be released. Options show whether a version is active, scheduled or has different columns.
  4. Under When the version becomes active, choose Activate now or Schedule.
  5. For Schedule, enter the date and time and pick a time zone. The time must be in the future.
  6. Select Activate version or Schedule version.
  7. In Production, confirm "Make version N live in Production?" or "Schedule version N for Production?" The dialog warns that the version starts serving requests immediately or at the scheduled time.

Studio shows "Version N is now active in Environment." or "Version N is scheduled for time (zone)."

To remove a scheduled version, select Cancel schedule and confirm. The live version keeps running. An elapsed activation cannot be cancelled. If a version is scheduled, cancel it before you activate another version now, or schedule the new one to replace it.

If the revision changed since you loaded the tab, Studio reports "This release was changed by someone else." and shows the current state.

A change to the input/output contract compared with the active version is refused, and Studio lists what differs, such as "Adds input X" or "Changes the hit policy". Use a new decision table instead.

AreaShows
Right nowLive and Scheduled blocks: the running version, last change and who made it, and any upcoming version.
Release a versionThe release form above.
HistoryPast changes such as "Activated version N (was version M)", "Rolled back to version N" and "Scheduled version N for time", each with who and when. Select Show all to see every entry.

Roll back​

There is no rollback action. To roll back, release an earlier published version. Completed process effects remain completed.

View metrics​

The Metrics tab shows how a released table is used. It opens on Development. Use the Period (7, 30, 90 or 365 days; the default is 30), Environment and Table version selects to change the scope, and Refresh to reload.

Four tiles summarize the scope: Evaluations, Errors, No match and P50 latency. Below them, three tabs give detail:

TabShows
Rule usageHow often each rule matched. Choose All rules, Most matched (top 5), Least matched (bottom 5) or No recorded matches.
Daily volumeEvaluations, no-match results and errors for each day.
CallersThe average evaluations per day for each calling workflow.

Runs from the Test tab are not counted. "No calls in this period" means no workflow called a released version in that scope. "Metrics are unavailable right now. This is not zero usage." means the figures could not be loaded: select Refresh.

Versions and dependent workflows​

FeatureBehaviorUse
Active selectionUse the environment's effective versionFollow compatible policy releases
Published version pinUse one explicit published versionKeep a caller on a chosen version
Contract checksCheck input/output compatibilityProtect existing mappings
Where-usedShow authored, published and deployed referencesSee dependent workflows
Deletion protectionRefuse deletion when in use or evidence is incompleteKeep dependent workflows intact

An active selection follows the effective version in the chosen environment. A published version pin selects one explicit version. The selected decision schema must remain compatible with the workflow mapping.

Rule changes can reuse the table identity when they preserve its input/output contract. A breaking contract requires a new table identity. Deployment and promotion checks refuse incompatible or unavailable dependencies. An existing workflow may need rebuilding when its required dependency evidence is missing.

Where-used and deletion protection​

Where-used shows known authored, published and deployed workflow references. Deletion is refused when the table is referenced, has protected releases or when the check cannot prove the references are complete. Unavailable evidence is distinct from an empty reference list.

For the delete dialog, see Creating and managing decision tables.

Next steps​