Question
Tata Consultancy Services
IN
Last activity: 6 Apr 2018 0:37 EDT
Today in function alias for RD
When I use a condition pxCreateDateTime = Today in Report Definition, I could see the query gets generated as (pxcreatedatetime >= 'StartDateTime' and pxcreatedatetime <= 'EndDateTime') (where start and end date time are automatically calculated by Pega while generating the query).
How do I use this condition while creating a function alias to be used in RD? When I directly use an input param (date time type) = Today, it gives error at run time.