Sample app Industry

Flight Tickets

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

DecisionRules

David Škarka

Template author

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
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
Check iconA checkmark inside a circle signifying "yes"Minus iconA minus inside a circle signifying "no"PROS IconA plus symbol representing positive aspects or benefits.CONS IconA minus symbol representing negative aspects or drawbacks.

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

Risk Based Pricing

Discover a simple way to apply a suitable Risk Based Pricing matrix based on a type of client.

Explore
Financial Services

Eligibility and Policy Rules

Discover a simple way to define and execute various sets of rules and get the final decision outcome.

Explore