@jss-rule-engine/core
Version:
Rule engine for Sitecore JSS
23 lines (10 loc) • 898 B
Markdown
# Sitecore JSS Rule Engine
The `sitecore-jss-rule-engine` package provides a flexible, extensible rule engine for Sitecore JavaScript Services (JSS) applications. It enables you to define, evaluate, and execute rules and workflows in your Sitecore-powered apps, supporting advanced personalization, automation, and business logic scenarios.
## Features
- **Rule Definition**: Create rules using JSON or JavaScript objects.
- **Condition Evaluation**: Evaluate complex conditions based on context data.
- **Action Execution**: Trigger actions when rule conditions are met.
- **Workflow Support**: Orchestrate multi-step workflows using rules.
- **Extensible**: Add custom conditions and actions.
## Usage
The core class of this package is `JssRuleEngine`. It allows you to define rules, evaluate them against a context, and execute actions when conditions are met.