Rules
Dynamic Access Rule
Validates against dynamic content.
The Dynamic Access Rule determines whether a given value satisfies a specific set of conditions. This rule is flexible and can be applied to various scenarios as both the value being evaluated and the condition value can be set either statically or dynamically.
Settings
Setting | Description | Required | Dynamic |
---|---|---|---|
Value | The value that must validate for the condition to be considered valid. | ✓ | ✓ |
Evaluation | The logic that will be applied to the specified value, Is empty , Includes , Equals to , Greater than , Starts with or Ends with . | ✓ | |
Evaluation Value | The value that the main value will be evaluated with, if required by the evaluation logic. | ✓ | ✓ |
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 Dynamic rule from the Misc collection.
- Fulfill the settings as required and go back to assure the evaluation is working as expected.
Use Cases
Today Date Comparison
Evaluate if a specific date is before than or after than today.
- Set the value as the date which should be compared with today, formated as
Y-m-d
. - Set the condition field as Greater than or Less than.
- Set the condition value as dynamic mapped to a
Request Source -> Timestamp Field
, formated asY-m-d
.