◷ Reading Time: 5 minutes
What should I download?
FlexRule Runtime is the core engine that executes your business logic (rules, flows, and decisions). It is used as a developer SDK to integrate FlexRule into your application and let your application execute business logic models.
FlexRule Designer is an authoring environment that allows you to visually model different types of business logic. You can also validate, simulate and run your processes visually. For this extended functionality, you need to have FlexRule Runtime installed.
FlexRule Server is the server component that hosts your business logic (rules, flows, and decisions) as a REST API. FlexRule Server comes with a Workbench application to help you manage your services.
You can download all of the products from our official site at http://download.flexrule.com
What are the .NET Framework Requirements to run FlexRule?
.Net Framework 4.7.2
How do I get a license to use FlexRule?
When you install FlexRule, simply follow the licensing wizard for a license. You can also contact us to request a license.
Where can I get some sample projects?
Yes – for all the products there are several samples.
FlexRule Runtime samples can be found on GitHub.
You can also find samples in the install folder on your machine at the following location:
C:\Users\[LogIn_Name]\Documents\Pliant Framework\FlexRule Designer\[version]\Samples
FlexRule Server samples can be found in the install folder on your machine at the following location:
How do I link my FlexRule license to my application?
Your license file needs to be linked to your application so it can use FlexRule Runtime. Follow this link for more details.
How do I integrate FlexRule into my application?
For runtime integration that allows your application to execute logic documents check out our integration section.
For an authoring experience that allows your users to modify business rules in your web application, you can use our web component editor.
How do I create my first rule?
In FlexRule, when you talk about business rules, you can define them in either:
- Decision Tables
Follow this ‘Hello World’ tutorial to start your first decision table.
- Natural Language
Learn how to write in natural language here.
How do I bind a model to runtime objects and behaviours?
In FlexRule, Expressions are used to bind the model to runtime behaviours to:
- Access object properties.
- Call a method on the object.
There are different types of expressions:
- Simple expressions (object member access, mathematical operators, etc.).
- Monadic operators (processing XML, processing collections, etc.).
- Functions that act as global behaviour across your logic documents.
How do I connect to a database?
You can use many different data sources as part of your logic.
Follow these instructions to use a database as your data source.
Can I use XML data sources?
XML is one of the many data sources you can process in your business logic.
Follow these instructions to learn how to use XML data sources.
How do I use a conditional ‘if-then-else’ in a decision table?
In a decision table, columns are ANDed by setting a hit policy.
By leaving the last row (rule) with no condition you can model the else condition.
Have a look at our Decision Table 101 page for more details.
How do I pass some input values and retrieve results?
Parameters are used to enable communication with logic in different directions (for passing-in values and getting results back).
You can read how to define and manage parameters to find out where to define parameters in FlexRule Designer.
Can I reference my application’s assemblies and use my types in rules?
You can reference your assemblies and use your application’s types to model your logic.
Do this by adding them in the References tab in the Project Properties window in FlexRule Designer.