# Rule Types

Nected provides a comprehensive suite of rule types designed to handle various business logic scenarios, from simple conditional statements to complex decision-making processes. Each rule type serves specific use cases and offers unique capabilities to help you implement your business logic effectively.

### Supported Rule Types

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Simple Rule</strong></td><td>A straightforward if/then/else statement-based rule that provides an intuitive way to implement basic conditional logic. </td><td><a href="/files/5Drz0se4NkCDA4z2is0h">/files/5Drz0se4NkCDA4z2is0h</a></td><td><a href="/pages/Woez45kPzZ2uqn1AoqAZ">/pages/Woez45kPzZ2uqn1AoqAZ</a></td></tr><tr><td><strong>Decision Table</strong></td><td>A structured table format that maps multiple conditions to corresponding outcomes and actions. </td><td><a href="/files/dZGDiHadNLP2Agr3hpdi">/files/dZGDiHadNLP2Agr3hpdi</a></td><td><a href="/pages/v1Ign7LQQNWJgNxdzhqs">/pages/v1Ign7LQQNWJgNxdzhqs</a></td></tr><tr><td><strong>RuleSet</strong></td><td>A collection of predefined rules that work in concert to evaluate complex scenarios and determine appropriate actions. </td><td><a href="/files/0SIuGfmD7DzynyG1jdH6">/files/0SIuGfmD7DzynyG1jdH6</a></td><td><a href="/pages/93f0eIMuN4x6F2Nf2Jry">/pages/93f0eIMuN4x6F2Nf2Jry</a></td></tr><tr><td><strong>Rule Chain</strong></td><td>A sequential execution framework that connects multiple rules in a defined order, where the output of one rule can serve as input for subsequent rules. </td><td><a href="/files/NxuVy66jxwcFZQp24VRY">/files/NxuVy66jxwcFZQp24VRY</a></td><td><a href="/pages/JeUuCdXpQdUnFCcbl5VL">/pages/JeUuCdXpQdUnFCcbl5VL</a></td></tr><tr><td><strong>Decision Tree</strong></td><td>A hierarchical, branching structure that creates visual decision paths through nested conditions. </td><td><a href="/files/PW3bqFk9WSWMMR9evSfK">/files/PW3bqFk9WSWMMR9evSfK</a></td><td><a href="/pages/J6JvWgh287ZWWV2p1K5S">/pages/J6JvWgh287ZWWV2p1K5S</a></td></tr></tbody></table>

### Choosing the Right Rule Type

Selecting the appropriate rule type depends on your specific requirements:

| Scenario                                                    | Recommended Rule Type |
| ----------------------------------------------------------- | --------------------- |
| Single condition with simple outcome                        | SimpleRule            |
| Multiple conditions with various outcomes in tabular format | DecisionTable         |
| Hierarchical decisions with branching paths                 | DecisionTree          |
| Collection of related rules executed together               | Ruleset               |
| Sequential processing with dependencies                     | RuleChain             |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nected.ai/nected-docs/rules/rule-types.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
