Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Setting datetime in a Workday Filter

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 19 2022 at 15:53 UTC

I need to add a filter to my Workday reconciliation request so that it returns records where the Effective-From date is today - 1 day, and the Effective-To date is today + 7 days. 


How can I add these dateTime to my json? What's expression can I use? Here's a sample dateTime  with the correct format: 2007-12-03T10:15:30.


I don't expect something like this to work: 

 

${LocalDateTime.now().minusDays(1).toString()} 

 because I didn't import LocalDateTime.

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.
1 REPLY 1

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 21 2022 at 22:09 UTC

The following worked:

${java.time.LocalDateTime.now().minusDays(1)}

 

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.