Releasing decision flow

Releasing decision flow

A release preserves the decision flow at a specific point in time. The release page lets you test it and compare it with another release.

Creating a release

  1. On the decision flow page, select "Release" at the top right.
  2. In the confirmation dialog, select "Release".

The portal opens the new release page. The release is a frozen copy of the decision flow at that moment. Later edits to the decision flow do not change the release.

The release name ends with the date and time it was created.

Unit test

The release page contains the tabs "Unit test", "Batch test", "Compliance check", "Deployments", and "Approval process". This page covers "Unit test".

  1. Select the "Unit test" tab.
  2. In "Testing input", select a saved Data object.
  3. Edit the object's fields in the tree under "Testing input".
  4. Set the test options.

The "Call data sources" option is set to "No" by default. Set it to "YES" to call data sources during the test.

Select "Record executed steps" to record the ordered list of steps that the engine ran.

Select "Record lineage" to record which step wrote each value in the output.

  1. Select "Test release".

The "Output" pane is empty until a test runs. After the test, it shows the full result.

The output pane has the views "Tree", "Δ Tree", "JSON", and "Δ JSON". The Δ views show only the values that the decision flow added or changed.

Comparing two releases

  1. On a release page, select "Further actions" at the top right.
  2. Select "Compare with ..." from the menu.
  3. In the "Compare releases" dialog, select the releases in the two radio columns. The current release and the release before it are preselected.
  4. Select "Compare".

The comparison page shows both releases at the top as "Original version" and "Modified version". It lists every step in the decision flow. Each step is marked "NEW", "MOD", "DEL", or "Same".

  1. Select a modified step to open it.
  2. To open every step, select "Expand all".

The expanded view shows the changes in the artifact behind the step. For a rule set, it shows each rule's previous value and new value. An unchanged rule says that its configuration is identical in both versions.

Select "Generate release notes" to draft release notes from the differences.

Release notes

  1. On the release page, select "Release details". The dialog shows the release time, the person who released it, and the "Release notes" text area with a formatting toolbar.
  2. Enter notes in the "Release notes" text area.
  3. Select "Save".

Saved notes attach to the release and appear in the release's notification.

Related Documentation: