We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.
No ratings
Saviynt Employee
Saviynt Employee


we are developing ImportAccountEntJSON we have a requirement such as handling the status(Active/Inactive) in the JSON, The requirement is if enddate as 01/01/4000 then Active and if enddate is less than current date then it should be Inactive.


Tried the following format, however it does not work as expected.

"statuskey": "#CONST#${String strDate =response.endDate; java.text.SimpleDateFormat dt = new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.000'Z'"); java.util.Date endDate = dt.parse(strDate); java.util.Date today = new java.util.Date(); if(today.compareTo(endDate) > 0) {System.out.println("Inactive")} else {System.out.println("Active")}}~#~char"

 Actual result(s) - Account Status is not getting changed from Manually provisioned to Active or Manually Suspended from Inactive

Expected result(s) - Account Status should get changed from Manually provisioned to Active or Manually Suspended from Inactive.


Use ${Calendar.getInstance().getTime().format('yyyyMMddHHmmss')}Z method to pull the dates and check, similar solution article with detailed conversation at https://forums.saviynt.com/t5/identity-governance/ad-connection-updateaccountjson-date-calculation/m....

Saviynt Employee
Saviynt Employee

Hi @davindersingh 

This is currently not a supported feature in EIC. Please submit an Idea in our ideas portal.


Version history
Last update:
‎01/03/2023 12:18 PM
Updated by: