To calculate the current biological age of your contacts, based on their date of birth.
Background Information
An operation is a type of profile-based automation. An operation consists of expression language applied to a profile attribute with the data type string, number or date. Use an operation to extract or modify data stored in an attribute.
Procedure
InAdministration, create a new custom user attribute with the nameCurrentAge. The data type isNumber.
In Automation, create a new profile-based automation with the type Operation. The target attribute is CurrentAge. The operation has the following expression.
${ecm:age(date.today,user.DateOfBirth)}
Click theSavebutton.
Select the profile-based automation and click theActivatebutton. ⇒ The profile-based automation is now active.
Click theApply Automationsbutton. ⇒ Engage applies the automation to all contacts in the system. This can take a long time. An email notifies you when the automation is finished.