Week Access Rule
Validates against the current week.
The Week Access Rule evaluates whether the current week of the year matches one of the patterns.
Settings
Setting | Description | Required | Dynamic |
---|---|---|---|
Selection | The list or range of weeks in a year that the current week must match, considering that in average a year has 52 weeks and the week starts in Monday. Separate the entries with a comma and/or new line, e.g 2, 5-8 . | ✓ | ✓ |
Reversed | Whether the evaluation result should be returned reversed. Use it to set a condition as IS NOT . | ✓ |
Advanced Settings
Setting | Description | Dynamic |
---|---|---|
Name | The name to reference this condition. | |
Status | Defines if the condition is enabled or disabled . | ✓ |
Integration
Follow through the integration section for a detailed guide or go with these steps:
- Access the
Advanced Tab -> Access Conditions
panel of the element which output you want to restrict. - Add a Week rule from the Date & Time collection.
- Fulfill the settings as required and go back to assure the evaluation is working as expected.