Question

4
Replies
343
Views
huc73199 Member since 2019 3 posts
Abeam Consulting Ltd
Posted: 8 months ago
Last activity: 8 months ago

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?

Pega Marketing Data Integration Java and Activities Data Integration
Share this page LinkedIn