1. Home
  2. FlexRule Runtime (SDK)
  3. Integration
  4. JavaScript Integration Options

JavaScript Integration Options

◷ Reading Time: 2 minutes

FlexRule allows two level of integration in JavaScript platforms (i.e., Mobile apps, NodeJS, etc.).

  1. Authoring: Allows users to modify and add new logic from web user interface
  2. Execution: Allows JavaScript based application or services to run the logic


The Web Components allows you to integrate authoring experience of rules into your JavaScript based application.

Learn more about Authoring


FlexRule allows execution of business logic in two ways:

  1. In-Proc
  2. Service Layer


FlexRule JavaScript engine allows you to execute logic in the JavaScript platform directly. This means there is no need for any server round-trip or online connectivity. You can just run the logic as part of your JavaScript application or service (e.g., Mobile app, NodeJS, etc.).

Learn more about In-Proc


You don’t need to write any web application to test the JS version of your logic. You can simply use JS Test Bed.

For more details check JS Test Bed

Service Layer

When Service Layer integration is required in the JavaScript application, you can use FlexRule Server to expose the logic as a REST API Service. When the service end point is ready, then you can use the JavaScript client to interact with the service end point.

Learn More about Service Layer

Updated on June 11, 2020

Was this article helpful?

Related Articles