We have a use case where we are sending ‘yesterday’ records to a CSV and storing it in the repository. The CSV File should have CST time records (12-12 CST). By default pega is sending records in GMT format and GMT 12-12.
How can we convert GMT time values to CST in the report Definition.
@Priyesh questions like these have been asked many times on the forum - did you already try some suggestions such as this one, this one and this one? You’ll need to format the datetime field before export.
But in our use-case, we are using report Definition. as the source, called from data flow.
And in report Definition, we cant use any function, we can only use function alias.
I also tried creating one function alias with timezone casting but that didn’t work.
Report is generated with below steps:
Job Scheduler Run at 1 AM EST >> Calling Activity >> Data Flow >> Source: Report Defination (with Param as .pxOutcometime=‘Yesterday’) and Destination: File Data-Set (Generates CSV report and stores to repository folder)