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

Financial Services

A/B Testing

Discover a simple way to assign a test group for performing A/B Testing on your decisions.

Explore
Financial Services

Portfolio Rebalancer

Try real-time trading actions with this Decision Flow based on market prices and portfolio strategy.

Explore
E-Commerce and Retail

Product Catalog

Perform your own inventory check using our Decision Table.

Explore