Book entry booked
Rule types – Abstract
Purpose: Is 'passed' if there is a reference object of the type 'Time slot book entry' whose booking status corresponds to the criterion defined in the configuration (booked/not booked).
The Book entry booked rule is considered 'passed' if there is a reference object of the 'Time slot book entry' type (see Time slot management) whose booking status corresponds to the criterion defined by the checkbox in the configuration:
If the Check box is selected, the rule is considered 'passed' if a 'Time slot book entry' is available as a reference object that is 'booked', i.e. occupies a specific time slot and a defined loading place (see Loading places).
If the Check box is deselected, the rule is considered 'passed' if the reference object is a 'Time slot book entry' that is not 'booked', i.e. not assigned to a time slot and loading place.
►NOTE◄ Regardless of the Check box selection, the rule is considered 'failed' if there is no reference object of the 'Time slot book entry' type.
Configuration
The Book entry booked rule expects a 'Time slot book entry' (see Time slot management) as a reference object.
Configuration |
Test criteria (for rule 'passed') |
|
|
|
|
Example
Within an event handling, there is a list of time slot book entries in a variable (entries), which have been determined by a Search (Event action). In the course of event handling, time slot book entries that are 'planned' but not yet 'scheduled' should be advised by e-mail if the planned date relates to the current week:
A time slot book entry should be considered 'planned' if the date attribute 'Loading date planned' refers to a planned date in or before the current week.
A time slot book entry should be considered 'scheduled' as soon as it assigns a specific time slot for a defined loading place by making a booking.
Configuration:
The above existing event handling is extended by the For each loop shown on the right to trigger the mail notification, if necessary:
|
|