Request a Demo
Shared Functional

Business Rules Engine

Externalised, configurable business rules engine — DMN-compatible decision tables, eligibility determination, calculation chains, and policy enforcement that empowers non-technical staff to modify municipal logic without code changes.

≤50ms

Rule Eval

≤5s

Batch (1K)

≥500/s

Concurrent

99.99%

Availability

Purpose-Built for Canadian Municipalities

Ontario Compliant
MFIPPA Ready
AODA Accessible
Bilingual Support
Canadian Hosted
SOC 2 Aligned

Purpose & Scope

What this module owns

Clear ownership boundaries prevent duplication and ensure every capability has exactly one authoritative home.

Owns

7

Delegated to

4

Rate table storage & fee schedules

rate-fee-engine

Workflow routing execution

workflow-automation

Financial transaction posting

financial-core

Reporting & dashboard rendering

reporting-analytics

These capabilities are handled by dedicated modules and consumed via stable API contracts — keeping boundaries clean and ownership unambiguous.

Core Capabilities

What it does

3 capability groups comprising 7 discrete capabilities — each with API surface, business rules, and data ownership.

DMN 1.3-compatible decision tables; multi-hit / single-hit policies; priority-based conflict resolution; visual editor.

DMN 1.3 Compatible

Decision tables follow DMN 1.3 standard with input/output columns, hit policies, and priority-based conflict resolution.

Hit Policies

UNIQUE, FIRST, PRIORITY, ANY, COLLECT — determines how multiple matching rows are handled.

Visual Editor

Spreadsheet-like visual editor for non-technical staff to author and maintain decision tables.

Import/Export

Import decision tables from Excel; export for offline review and documentation.

Grouped rules with AND/OR logic; nested conditions; action chaining; priority ordering; reusable rule fragments.

Conditional Logic

Rules composed of conditions (field, operator, value) with AND/OR grouping and unlimited nesting depth.

Action Chaining

Rules trigger one or more actions in sequence: set value, route workflow, calculate amount, send notification.

Priority Ordering

Rules ordered by priority; conflict policies (FIRST_HIT, PRIORITY, ALL_MATCH) control multi-rule evaluation.

Reusable Fragments

Common condition sets extractable as reusable fragments referenced across multiple rule sets.

Every module owns a single bounded context, exposes stable APIs, and can be composed into any Civic product — that's the architecture that scales.

Krutik Parikh

Creator of Civic

Data Model

Entity Architecture

3 entities with 2 relationships — the authoritative schema for this bounded context.

Entities

Select an entity to explore its fields and relationships

API Surface

Integration Endpoints

10 RESTful endpoints across 5 resource groups — plus 4 domain events for async integration.

|
POST

/api/v1/rules/evaluate

Evaluate input against rule set

POST

/api/v1/rules/evaluate/batch

Batch evaluate multiple inputs

Technical Specifications

Performance, Compliance & Configuration

Rule Evaluation (single)

Target≤ 50 ms

Batch Evaluation (1,000 records)

Target≤ 5 seconds

Max Rules Per Set

Target≥ 1,000

Concurrent Evaluations

Target≥ 500/sec

Rule Versioning

TargetUnlimited versions retained

Audit Trail

Target100% of evaluations logged

Availability

Target99.99% (critical path)

FAQ

Frequently Asked Questions

Ready to Integrate

Build on Business Rules Engine

Request an architecture brief, integration guide, or live demo environment for your team.