serviços de viagem

Preços do aluguel de quartos

Decision Flow para calcular o preço do quarto com base na duração da estadia, número de pessoas, época do ano e eventos especiais.

DecisionRules

David Škarka

Autor do modelo

This Decision Flow calculates room price based on stay length, number of people, season, and special events.


Solution components
  • A Decision Table isSeason determines if the ordered stay falls in the off-season based on the month.

  • A Decision Table Price factors based on season and weekdays determines price factors based on season and number of weekend days.

  • A Decision Table named Special events price factors determines price factors based on special events, like last-minute.

  • A Decision Flow  Pricing of Room Rental orchestrates these Decision Tables:

    • It begins by calculating the length of stay, weekend inclusion, and enforcing a maximum of 7 days.

    • It utilizes the decision tables to determine applicable price factors in percentages.

    • It calculates total adjustments for weekday and weekend rates, and the final price for the stay.

Use this Decision Flow to automate the calculation of total room prices by dynamically applying seasonal and event-based adjustments to a base price.

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.

Mais modelos

Ver outros modelos