Question

3
Replies
1256
Views
Sree Ramya Gude (SreeRamyaG)
Infosys Ltd

Infosys Ltd
IN
SreeRamyaG Member since 2019 2 posts
Infosys Ltd
Posted: August 12, 2020
Last activity: May 12, 2021
Posted: 12 Aug 2020 0:37 EDT
Last activity: 12 May 2021 7:59 EDT
Solved

Compare two date values

Hi,  I have a requirement two compare two dates and to find which one is latest I have used this when condition in a Data Transform .EventDate>.CurrentDateTime While saving I haven't got any error, while running i got below exception from logs: Exception caught while evaluating when][STACK][java.lang.RuntimeException: Scalar query .CurrentDateTime on page. Can anyone suggest me what is the alternative I can use in case of above when rule. Thanks in Advance.

Regards, Sree Ramya G.

***Edited by Moderator: Pallavi to move from Pega Academy to Product***

***Edited by Moderator: Pooja Gadige to add platform capability tag***
Pega Platform Low-Code App Development