top of page
VisiRule JavaScript expert system rules engine

VisiRule JavaScript Rules Engine

What is a Javascript Rules Engine?

VisiRule to HTML Javascript Rules Engine

A JavaScript rules engine is a logic‑processing engine written entirely in JavaScript that runs directly inside the browser. This allows you to deliver fully client‑side decision‑making applications with no server interaction, resulting in extremely fast response times. Because everything executes locally, these applications can run both online and offline, making them ideal for mobile and remote environments.

 

VisiRule to HTML: The JavaScript Rules Engine

VisiRule can export your decision models into a lightweight HTML + JavaScript rules engine, enabling you to deploy interactive decision trees that execute entirely on the client side. This approach provides a highly responsive user experience and removes the need for server‑side processing or round‑trip delays.

Draw Your Knowledge & Deliver with a Single Click

VisiRule lets you draw your knowledge visually as a sequence of interconnected questions, each linked by clear logic expressions. This intuitive approach helps you structure complex reasoning in a way that is easy to understand, maintain, and refine.

You can test your logic instantly to see how it behaves, adjust the flow, and refine the nodes until the model works exactly as intended. When you're ready, VisiRule allows you to generate a complete HTML web application with a single click—including all the JavaScript needed to run the decision logic directly in the browser.

This makes it incredibly fast to go from idea → model → working application, without writing code or relying on server‑side infrastructure.

Simple VisiRule Expert System Chart

Backtrackable Questions

BMR Calcualator in HTML

The VisiRule JavaScript Business Rules Engine maintains a dynamic stack of all questions asked and all answers given during a session. This allows users to move backwards through the conversation, revisit an earlier question, and change their response at any time.

When an answer is updated, VisiRule automatically re‑evaluates the logic and takes the user down the correct alternative branch of the decision tree. This ensures the session always reflects the most accurate and up‑to‑date information.

The dynamic stack also preserves the current state of the session. Once completed, the full interaction—including questions, answers, calculations, and conclusions—can be shared with other systems or people for audit, reporting, or follow‑up.

Multiple Charts & Callable Sub-Charts

VisiRule allows you to combine multiple decision charts into a single, cohesive application. Any chart can call another chart, enabling you to build solutions in a modular, scalable, and maintainable way.

This modular approach simplifies both development and testing. Common sub‑charts—such as eligibility checks, calculations, or reusable diagnostic steps—can be invoked multiple times but are only asked once during a session.

 

This ensures efficiency, consistency, and a smoother user experience.

Affordable Flat-Fee Pricing

Client side JavaScript chatbot

Client‑side delivery is available for a simple, affordable flat fee. The generated HTML and JavaScript can be hosted directly on your own website and delivered straight to your customer’s device — or even pre‑loaded onto their phone or tablet if required.

Because everything runs locally in the browser, you can deploy lightweight troubleshooting flowcharts, interactive decision tools, or mobile‑friendly chatbots that work instantly, even in low‑connectivity environments.

This makes VisiRule’s JavaScript Rules Engine a cost‑effective way to deliver fast, reliable, and portable decision automation.

Total Control of Presentation

Because VisiRule delivers your application as standard HTML, you have complete freedom to control how questions, answers, and results are presented. You can style every element using familiar HTML and CSS, ensuring the decision tool matches your brand and integrates seamlessly with your website.

You can also enrich the user experience by embedding images, videos, graphics, and hyperlinks directly into questions or conclusions. This makes it easy to provide additional explanations, visual aids, or supporting resources exactly where users need them.

Peripheral Troubleshooting Screen

Document Generation

HTML view of Generated Document

At the end of a session, you can invoke the VisiRule Document Generator to produce a fully populated document based on your own template. The system automatically inserts the user’s answers along with any calculated values, ensuring the final document is accurate, consistent, and tailored to the individual case.

VisiRule’s decision tree flowchart engine helps you determine which document to generate and which clauses to include, based on the logic of your model. This allows you to deliver personalised reports, letters, agreements, or guidance documents directly from the decision process.

Inspecting Run-Time Execution

VisiRule includes a built‑in VRJS Inspector that lets you see what’s happening under the hood as your decision logic runs. When enabled, the inspector displays the current state of the dynamic stack — including all questions asked, answers given, and any calculations performed during the session.

This real‑time visibility makes it easy to understand how the model is behaving, debug complex logic, and verify that the decision flow is working exactly as intended.

bottom of page