Page History
...
Explanation:
This rule analyses all expressions and determines wether whether they are using TODAY in a correct manner:
- It may should only be used as defaultvalue default value for 1 attribute
- It must should always be called via this 1 attribute, never directly in other expressions
...
Make an attribute which contains TODAY as default expression and use references to this attribute everywhere you currently have "TODAY". This attribute can then easily be used for time travelling.
...
This expression compares a date with TODAY to calculate the age of a child. This can lead to issues when testing requires timetravellingtime travelling. By replacing using a reference attribute, only this 1 single attribute will need needs to be changed whenever time - travelling is required instead of having to change every expression mentioning TODAY.
...
Overview
Content Tools