Sample app FEATURED Aviation

Flight Tickets

Define your business rules in this intuitive Decision Table and transform complex pricing logic into accurate quotes.

DecisionRules

DecisionRules

Rule Alias:

Configure your trip details and let the DecisionRules API calculate the total cost.

1
2
3
Trip DetailsAncillary ServicesPricing & Summary

Trip Details

1
0

About the example:

This Decision Table serves as a simplified version of dynamic flight pricing service. It uses a set of conditions from a customer's travel request to look up base fares and calculate the total price for all selected add-on services, providing a complete and itemized price quote.

Solution components:

  • Rule Variables establish the foundational business parameters for the entire calculation, defining the base prices for ancillary services and fixed fees for services like travel insurance or lounge access.
  • Inputs (violet): conditions that determine the outcome. Each row in the table defines a specific rule that connects these inputs to outputs. In our case based on the first 3 input parameters, the corresponding row will be executed.
  • Calculations (yellow): column executes the core business logic, applying mathematical operations and conditional rules to the input data to determine the final values. For example adjusting the ticket price for a one-way or round trip.
  • Outputs (green): calculated values returned once a matching rule is found. A primary use case is to provide this detailed estimate to the customer for each item to confirm payment.

Use this Decision Table, adjust it to match your needs and simply call from your online booking system using a REST API


More Templates

See Other Templates

Insurance

Property Insurance Pricing

Simple property insurance pricing model built with a Decision Flow and a couple of Decision Tables.

Financial Services

Anti-Money Laundering Screening (AML)

Discover simple way to identify suspicious transactions with this Decision Flow based on their characteristics.

Explore
E-Commerce and Retail

Complementary Products

Automate "You might also like" recommendations with this Decision Flow based on an item in the user's shopping cart.

Explore