📖
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
  • Create a ruleset from scratch
  • Create a ruleset by copying an existing ruleset
  • Additional resources
  1. How-to Guides
  2. Ruleset Development

Create a Ruleset

This chapter will guide you through all aspects of creating Rulesets.

PreviousRuleset DevelopmentNextSet the Input for a Ruleset

If you just want to create a Ruleset as fast as possible, please read the chapter "".

Introduction

This guide explains how to create a ruleset in every detail.

Rulesets are the foundation of Rulecube. You can think of them as the general container that contains all elements to implement a set of rules that calculates a result that you process in external software such as a web app. This way, rulesets enable you to implement your business rules software-wise and apply them to your software or data engineering pipeline via an API.

Before you begin

  • Think of a self-explanatory and specific name for your ruleset. For example, Loan discount calculation is clearer than LoanCalculation.

Procedure

There are two ways to create a ruleset:

  • From scratch.

  • By copying an existing ruleset.

Next, you'll find procedures for both ways.

Create a ruleset from scratch

  1. Navigate to the Service page.

  2. Click +Ruleset and select Blank ruleset to create a ruleset. ↳ The Add new ruleset pop-up opens.

  3. In the Ruleset name field, enter the name you want to give the ruleset.

  4. Click OK. ↳ Rulecube creates the ruleset and shows the General settings page for the ruleset:

  5. If you want to change the automatically generated endpoint URL, in the Endpoint URL field, enter your endpoint.

  6. If you want to store a description of your ruleset for later reference or colleagues, in the Description field, enter your description.

  7. If you changed the endpoint, description, or both, click Save.

Create a ruleset by copying an existing ruleset

  1. Navigate to the Service page.

  2. Click +Ruleset and select From existing... to create a copy of an existing ruleset. ↳ The Copy ruleset pop-up opens.

  3. In the Existing ruleset list, select the ruleset you want to copy.

  4. In the Ruleset name field, enter the name you want to give the ruleset.

  5. Click OK. ↳ Rulecube creates the ruleset and shows the General settings page for the ruleset:

  6. If you want to change the automatically generated endpoint URL, in the Endpoint URL field, enter your endpoint.

  7. If you want to store a description of your ruleset for later reference or colleagues, in the Description field, enter your description.

  8. If you changed the endpoint, description, or both, click Save.

Additional resources

How-to Guide: .

How-to Guide: .

Set the Input for a Ruleset
Create a Rule
Quick Start