Age Calculation and show the result in records
Hi, I'm a new Pega Marketing user,
I want to calculate Age from Date of Birth via Function Alias rule,
and show it when I upadate customer data by importing an CSV file.
I use this declare expression like this:
Whenever inputs change
If
.Date_of_Birth !=
NULL
Then set Age =
@toInt(@substring(@CurrentDateTime(),0,4))-@toInt(@substring(.Date_of_Birth,0,4))
Otherwise set Age =
NULL
But Age didn't show in records after I updated customer data.
Please someone tell me how to make the rule's result show in record.
Is it need some other setting?