Delete a Ruleset or Components

Introduction

This guide explains how to delete a ruleset or specific components from a ruleset.

Over time, the requirements for your ruleset change, and you modify them accordingly. This generally means adding components or updating existing components, but sometimes you no longer need an existing component and want to remove it. Or you may even want to remove the entire ruleset.

Before you begin

  • Before deleting anything, it is wise to export a ruleset as a backup so you can always revert your changes.

Procedure

We'll provide procedures for deleting a component, a ruleset version, and an entire ruleset.

Delete a component from a ruleset

This applies to inputs, entities, constants, functions, rules, and testcases.

  1. Open your ruleset.

  2. Select the component you want to delete—for example, a rule.

  3. Click Delete. ↳ The rule or other component you selected is deleted without warning. But you can still go back because it's not final yet.

  4. If you want to revert the deletion, click Cancel. ↳ Rulecube opens a pop-up asking if you want your changes (the deletion) to get lost.

    1. Click OK to revert the deletion. ↳ Rulecube reloads the ruleset, and your component is still there.

  5. If you want to proceed with the deletion, click Save. ↳ Your component is permanently deleted from your ruleset.

Delete a ruleset version

Rulecube has two ways to delete a ruleset version:

From the Services page:

  1. Select the Services page.

  2. Click the ruleset whose version you want to delete. ↳ Rulecube expands the available versions of the ruleset:

  3. Click OK. ↳ The ruleset version is deleted.

From the ruleset version itself:

  1. Open the ruleset version you want to delete.

  2. Click Delete ruleset version. ↳ The Delete ruleset pop-up opens.

  3. Click OK. ↳ The ruleset version is deleted.

Delete an entire ruleset

  1. If you have more than one version a "Delete all" button is available. When you click this, all versions of a ruleset will be deleted.

If you manually delete the last version of a ruleset, the ruleset is also deleted and will no longer be visible on the Services page.

Last updated