...
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Overview
We offer an “bookinh restriction rule” object where you can configure rules to block a reservation when being created or changed. You can create easy rules and more complex rules, using below described operators and functions. You can use fields on the reservation and fields of the related dimension record if you link your rule to a dimension.
The formula itself is where you define the condition for the rule. If the formula evaluates to true, it will result in a conflict. You can use various logical operators such as == (equal), != (not equal), > (greater than), >= (greater than or equal to), < (less than), <= (less than or equal to), CONTAINS, LIKE, NOT, and ISBLANK.
Additionally, there are functions available for performing calculations and filtering lists. When linked to a dimension, you can access special variables like overlapping_reservations and matchingAvailabilities to further rules for availability checking or double bookings.
You can choose between hard and soft conflicts, where a hard conflict will block the reservation, and a soft conflict will only display a warning. The validation message you provide will be shown to the user to explain why the reservation is not allowed.
By combining operators, functions, and variables, you can create simple or advanced rules to handle conflicts based on specific criteria, such as resource availability, overlapping reservations, and more.
Getting started
As it’s in beta, you first need to install our latest version 5.6 or later Install the latest version
Navigate to GoMeddo settings, and enable the setting to enable this new way of conflict checking
...
Note |
---|
Important is that when the result is true, the reservation will be blocked. This is why we call the rules “reservation restrictions”. |
...
The basic idea:
We offer an “Reservation restriction” object where you can configure rules to block a reservation when being created or changed.
You can create easy rules and more complex rules, using below described operators and functions.
You can use fields on the reservation and fields of the related dimension record if you link your rule to a dimension.
Basically you can create your own rule defining when a reservation is not allowed.
A simple rule would look like this:
b25__Title__c == 'invalid'
...
Hard or soft
The rule has a type, the type can be hard of soft, resulting in either a warning or blocking the reservation. You don’t need to add this in the formula but can mark the “rule” record in Salesforce as Hard or Soft.
...