Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Current Date format in JSON

Prajna
New Contributor
New Contributor

Hi Team,

We have a requirement to update the current date in description attribute while creating account in AD.  The below format is used to perform the operation but we are receiving the below in description
"Provisioned by IAMSimpleTemplateScript892$_run_closure5@749c6040 "

We are using the below json

"description":"${'Provisioned by IAM'+ {Calendar.getInstance().getDate()}}"

The requirement is 

Description- Provisioned by IAM + current Date

Please suggest.

Can anyone please suggest on this

[This message has been edited by moderator to merge reply comment]

2 REPLIES 2

DixshantValecha
Saviynt Employee
Saviynt Employee

Hi @Prajna,

We are checking on your request and we will keep you posted.

DixshantValecha
Saviynt Employee
Saviynt Employee

Hi @Prajna,

Please validate and let us know:-

"description":"Provisioned by IAM ${new java.text.SimpleDateFormat('MM/dd/yyyy').format(new Date())}"