📖
Rulecube documentation
v2.4
v2.4
  • Overview
  • Quick Start
  • Tutorial
    • Getting started
    • Create and Run Your First Ruleset
    • Use Constants and Methods
    • Create and Call Functions
    • Adding Testcases
    • Using Lookup Tables
    • Using Entities
    • Using Forms
  • How-to Guides
    • Logging in and Authorization
      • Activate Your Account From an Invitation
      • Log in to Rulecube
      • Change Your Password
      • Recover Your Password
      • Two-factor authentication (2FA)
      • Invite Other Users to Rulecube
      • Edit a User's Role
      • Delete a User
    • Ruleset Development
      • Create a Ruleset
      • Set the Input for a Ruleset
      • Create a Rule
      • Generate Alerts
      • Try out a Ruleset
      • Call a Ruleset from Your Software
      • Entities
        • Create an Entity
        • Drag and Drop a JSON Schema or XSD to create entities
        • Entity instantiation
        • Persisted Entities
      • Constants
        • Constant Tables
      • Functions
      • Built-in Functions
      • Create and Run a Testcase
      • Delete a Ruleset or Components
      • Debugging your Ruleset
    • Create a Workflow
      • Workflow step types
      • Working with documents in a workflow
    • Work with (Environment) Variables
    • Call a Ruleset via Its API From Postman
    • Creating input from JSON Schema
    • Use a Ruleset from Your Software
    • Ruleset Productivity Tips
    • Create an Ockto workflow
    • Alert aggregation
    • Forms
      • Introduction and overview
      • Create a Data table
  • Language Reference
    • Global
    • Array
    • Compression
    • Crypto
    • Date
    • Encryption (deprecated)
    • Finance
    • Http
    • Mail
    • MongoDB
    • Ockto
    • PDF
    • SQL
    • Statistics
    • System
    • UserStore
    • Workflow
Powered by GitBook
On this page
  • Introduction
  • Before you begin
  • Procedure
  • Delete a component from a ruleset
  • Delete a ruleset version
  • Delete an entire ruleset
  1. How-to Guides
  2. Ruleset Development

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.

PreviousCreate and Run a TestcaseNextDebugging your Ruleset

Click behind the version that you want to delete. ↳ The Delete ruleset pop-up opens.