Flight Tickets Amendments
Decision table to determine whether a client’s plane ticket is eligible for modification or cancellation with an amendment fee, based on the time of purchase, time remaining until the flight, and whether the ticket was bought during a special event or promotion
David Škarka
Template author
This Decision Table determines whether a client’s plane ticket is eligible for modification or cancellation and calculates the specific amendment fee. It evaluates the request based on the time of purchase, the time remaining until the flight, the ticket class, and whether the ticket was associated with a special event or promotion.
Solution Components
The logic is encapsulated in a single Decision Table named "Flight Tickets Amendments", which processes the following inputs: TicketClass, IsPromo, IsSpecialEvent, DaysSincePurchase, and DaysUntilFlight.
The rule logic is segmented by ticket type as follows:
1. Promotional and Special Event Tickets
Promotional Tickets: If a ticket is part of a promotion (and not a special event), the customer may cancel within 1 day of purchase for a 50 EUR fee; otherwise, no changes are allowed.
Special Event Tickets: These tickets can be cancelled within 1 day of purchase for a 100 EUR fee; if more than 1 day has passed, neither cancellation nor modification is permitted.
2. Economy Class (Standard) For non-promotional, non-special event Economy tickets, the rules depend strictly on the Days Until Flight:
More than 30 days: Cancellation and modification are both allowed for a 25 EUR fee.
Between 7 and 30 days: Cancellation and modification are both allowed for a 50 EUR fee.
Between 3 and 6 days: The customer cannot cancel, but may modify the ticket for a 100 EUR fee.
Less than 3 days: No cancellation or modification is allowed.
3. Business Class For non-promotional, non-special event Business tickets:
3 or more days until flight: Cancellation and modification are both allowed for a 10 EUR fee.
Less than 3 days until flight: The customer cannot cancel, but may modify the ticket for a 30 EUR fee.
4. Flex Class
Any timeframe: Flex tickets (non-promotional/non-special event) allow both cancellation and modification at any time for a 10 EUR fee.
Use this Decision Table to automate customer service requests regarding ticket changes. The output provides boolean flags for canCancel and canModify, alongside the specific string value for the amendmentFee.
More Templates
See Other Templates
A/B Testing
Discover a simple way to assign a test group for performing A/B Testing on your decisions.
Risk Based Pricing
Discover a simple way to apply a suitable Risk Based Pricing matrix based on a type of client.
Eligibility and Policy Rules
Discover a simple way to define and execute various sets of rules and get the final decision outcome.