Create a Ruleset

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

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

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