Lab

Policy resolver

One traveller, several policies: which one applies? Switch the setup and watch the precedence rule pick a winner.

Switch the policies on and off and watch which rule wins.

The prototype

Which policy wins?

One traveller can be covered by several policies at once. The engine applies the most specific one and ignores the rest. Set up a traveller and see which policy wins.

Policies set up

Order of precedence, most specific first

  1. User policy for Conference: Not set up
  2. User policy: Applies
  3. Group policy for Conference: Outranked
  4. Group policy: Outranked
  5. Company default: Outranked

The user policy applies. Everything below it is ignored for this trip.

How it's calculated

The most specific policy that is switched on wins. A trip-reason rule counts only when its parent policy is on.

The question it answers

A traveller can sit under a company default policy, a policy for their group, a policy written for them, and rules that change with the reason for the trip. When those overlap, the tool has to pick one, and the travel manager has to be able to predict which.

The rule: most specific wins

The engine resolves overlaps in a fixed order:

  1. The user policy for this trip reason
  2. The user policy
  3. The group policy for this trip reason
  4. The group policy
  5. The company default

The first match wins. A person can keep that order in their head, which matters more than it sounds. A travel manager should never need to run a test booking to find out what a traveller will see.

How it got here

The travel policy engine took four full iterations. Three complete wireframe versions were scrapped before this architecture held. The precedence order is the part that survived, because it is the part a travel manager has to trust.

What sits on top

Once the policy is picked, its rules apply: cabin class by trip duration, budget caps set as a percentage above the lowest or median fare, booking windows, refundable fares only, layover rules, and more. Each rule can be a hard or a soft violation, and out-of-policy options can be sent for approval, blocked, or hidden from results.

Start a conversation

Have something in mind?

Start a conversation