◷ Reading Time: 6 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.

FlexRule Designer sample projects can be found right here based on project type or based on industry. Every project contains a downloadable sample, test data, and a video description.

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:

[install-location]\Pliant Framework\FlexRule\[version]\Samples

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:

  1. Decision Tables
    Follow this ‘Hello World’ tutorial to start your first decision table.
  2. 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:

  1. Access object properties.
  2. Call a method on the object.

There are different types of expressions:

  1. Simple expressions (object member access, mathematical operators, etc.).
  2. Monadic operators (processing XML, processing collections, etc.).
  3. 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.

Read more about managing references in FlexRule Designer here.

I got the “Could not find a part of the path” error when installing the Runtime

Message: Could not find a part of the path 'C:\Users\<LongUserName>\AppData\Local\Pliant Framework\FlexRule Designer.packages\runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl.4.3.0\runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl.4.3.0.nupkg'.

You may get this error if you have a long username of your machine.

How to Solve?

  1. You can ask a colleague to copy the Runtime folder
    1. Close the opened Designer.
    2. Copy the latest Runtime from C:\Users\<UserName>\Documents\.flexrule from your colleague’s FlexRule installation.
    3. Create the folder .flexrule in your Document folder.
    4. Paste the Runtime folder inside your newly created folder.
    5. Restart the Designer.
  2. Or you can contact FlexRule Support team at support@flexrule.com.

How about the product and data security compliance?

This article answers the questions on product and data security compliance.

Updated on October 8, 2021

Was this article helpful?