• MailBox

    FlexRule.Extensions.MailBox Allows communication to Mail Servers using IMAP and EWS protocols. mailBox Connects to mail server. serverAddress (string): Combination of server address and port with the following format Address:Port options (object): A set of options user password useSsl acceptAllCertificates protocol Example: {user:’flexrulerpa@gmail.com’, password:’123123′} ) mailQuery Allows querying mail messages on the…

  • Reading Email inbox

    Reading applicants’ details from an email account The example shows how to use the MailBox extension to read emails from a given email account. Scenario A company is hiring a new software developer. In their job post, they have asked the applicants to email the resumes with the subject including the position…

  • Google Search

    This tutorial will describe how to automate the process of a Google-search. If we think the process of searching ‘Flexrule’ in Google and get a list of links on the first page, the steps would be as follows: Open a web Browser (eg: Chrome, Firefox) Navigate to ‘www.google.com’ Type ‘Flexrule’…

  • Deployment

    Deployment allows running the process without having the FlexRule project. It creates one self contained folder with all of the files needed to run the process and store output, notifications, logs, etc. It also creates a .bat file which you can simply double-click in order to run the process. Build the project…

  • Liability Fee Calculation

    The sample will show how to calculate the premium for a given liability amount based on a given set of rules. Scenario In this tutorial, we are going to create a Decision Table that calculates premium based on the liability amount of an insured asset. Therefore, in case of a loss or damage, the insurance company…

  • Building Plan Assessment

    The process of approving a building plan contains a set of steps according to building type, building size, number of stories, etc. The example shows how to use FlexRule Decision tables to write rules in order to automate the process of selecting the right assessment to approve a building plan. Video Description…

  • Firearm License Eligibility

    The process of determining the eligibility of providing firearm licenses contain a set of serious rules that require 100% accuracy as it is related to security. The example will show how FlexRule can be used to automate this process. Read data from the previous applicant list Check whether the applicant…

  • Student pass-fail state

    Using Natural Language, validate the input and ultimately decide the pass-fail state of a student. This will create the JavaScript code for the Natural Language code and can be tested in the JavaScript Testbed. Scenario In this tutorial, we are going to write a list of rules in Natural Language…

  • Car Insurance

    This is a sample for the car insurance industry that calculates the premium of a car based on Auto and Base premium components. The business rules are for risk classification and calculation of the premium of a car. Decision Model The decision graph automatically resolves the dependencies between different logic…

  • Address Book Validation

    A contact in an address book contains name (first and last), address (address line, postcode, state) and address type. There are mandatory fields that should be validated. This example will show error messages accordingly. We have used Natural Language to write the rules and these are easy to read and understand. Open…