RuleAPI Commands

◷ Reading Time: 3 minutes

Models API Documentation

FlexRule supports many different types of logic. All models underneath using a simple XML format to represent the logic. Based on the need and the logic you may choose different logic and make them interact with each other ones as well.

Validation and Decision

If eligibility for a decision is a question to answer this logic can be used. This is a way of modeling your rules, decisions, and logic in a structural way.

Check Validation commands

Decision Table

If eligibility for a decision is a question to answer this logic can be used. This logic is very similar to Validation but with the extended functionality on Agenda driven result and conflict resolution strategy.

Check Decision table commands

Natural Language

Natural Language (NL) is a Domain Specific Language (DSL) that can be designed to represent your own business language to express rules.

Check Natural commands

Decision Requirement Diagram (DRD)

Decision Requirement Diagram is the interconnected decision graph that is part of the DMN standard.

Check DRD commands

Information Requirement Diagram (IRD)

This model represents the data logic and transformation model.

Check IRD commands

Procedural

When a procedural logic is required these set of commands can be used. Procedural logic is like:

  • Accessing the object’s value and properties
  • Calling a method
  • Conditions e.g. If-ElseIf-Then logic
  • Iterations e.g. While, Loop…
  • Inter-link execution
Check Procedural commands

Flow

If orchestration of logic execution is required, Flow can be used. You can express the orchestration to execute multiple different types of logic. It can be used as a Decision flow, Procedure flow, … or mix of all of the available logic types.

Check Flow commands

Workflow

This is a specific type of Flow that can handle long-running business transactions. It supports hydrate, dehydrates and persistent store out-of-the-box.

Check Workflow commands

Notification

These commands can be used to send feedback to executing application during the logic execution.

Check Notification commands

Glossary

Glossary allows modeling and specifying business terms and formulas.

Check Glossary commands

Video Description

Updated on November 13, 2019

Was this article helpful?

Related Articles